Rätsel is German for Enigma
. Rätsel is an encryption tool that can take in messages, encrypt them for transmission, then decrypt messages we get from others.
- Messages can be encrypted
- Encrypted messages can be decrypted provided the encyption key and date are passed in
- Encrypted messages can be cracked without the encryption key
- Visit the Wiki to find out how to make use of this project.
To utilize the functionality of this tool, on command line, run the following:
- To encrypt, run
encrypt <file> [<output>]
- To decrypt, run
decrypt <encrypted-file> [<output>] <key> <date>
- To crack, run
crack <encrypted-file> [<output>] <date>
- Suppose we have a text file in a lib directory
test.txt
with the content below:hello hello ..end..
- On running encrypt with our output as
new.txt
encrypt lib/test.txt lib/new.txt
- The result will be
6a43a6zv h7ow7w527q
- Running decrypt and passing the output file, encryption key and date, we will then have:
hello hello ..end..
- Visit the Wiki to find branch, commit messages and pull request naming conventions.
- Fork this repository to your github account
- Clone the repository -
git clone https://github.com/<your-repo-name>/ratsel.git
- Create your feature branch -
git checkout -b your-branch-name
- Commit your changes -
git commit -m “[Enter message]“
orgit commit
for the interactive interface - Push to the remote branch -
git push origin your-branch-name
- Open a pull request (See wiki for pull request(s) naming convention) I look forward to your pull requests!