Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eleanor-clifford/py-cipher
A few common tools for classical cipher cracking, implemented in Python 3 and C. Uses fogleman's TWL06
https://github.com/eleanor-clifford/py-cipher
Last synced: 5 days ago
JSON representation
A few common tools for classical cipher cracking, implemented in Python 3 and C. Uses fogleman's TWL06
- Host: GitHub
- URL: https://github.com/eleanor-clifford/py-cipher
- Owner: eleanor-clifford
- License: mit
- Created: 2017-09-12T16:32:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T00:39:51.000Z (almost 3 years ago)
- Last Synced: 2024-11-08T23:23:45.474Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 2.13 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
| :exclamation: | This is a mirror of [https://git.sr.ht/~tim-clifford/py-cipher](https://git.sr.ht/~tim-clifford/py-cipher). Please refrain from using GitHub's issue and PR system. |
|----------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------|# py-cipher
A few common tools for classical cipher cracking, implemented in Python 3 and C. Uses fogleman's TWL06### Prerequisites
- Python 3 interpeter
- C compiler### Setting up
- Compile the C library (example with gcc):
```bash
$ gcc -Ofast -fPIC -shared -o src/libhill.so src/hillmodule.c
```- Run the graphical interface:
```bash
$ python3 main.py
```### Supported ciphers
- Affine ciphers (which includes Caesar shifts and Atbash ciphers)
- All monoalphabetic ciphers as long as the word spacing is consistent with the plaintext
- Vigenere ciphers - including vigenere on top of a monoalphabetic cipher
- Hill ciphers with matrix size up to 4x4