-
-
Notifications
You must be signed in to change notification settings - Fork 18
Cryptex Syntax
Alex Kollar edited this page Oct 16, 2022
·
2 revisions
There are two main ways to use Cryptex's syntax.
I'm going to focus on how you use Cryptex once it is installed first.
Say you forget the syntax of a cipher.
- launch the menu
cryptex
- Find a short code you want to know more about and use it with no arguments
cryptex cc
This will output all of the options and arguments for the chosen cipher.
- Encrypting with text on the fly
cryptex cc -e -t "May Walla guide you! " -k 3
- Encrypting a text file
cryptex cc -e -i example.txt -k 3
- Outputting an encryption
cryptex cc -e -t "May Walla Guide you! " -k 3 -o example.txt
- Outputting an encryption from an input file
cryptex cc -e -i example.txt -k 3 -o examplecrypt.txt
- Decryption of text on the fly
cryptex cc -d -t "Pdb Zdood jxlgh brx! " -k 3
- Decryption of a text file.
cryptex cc -d -i examplecrypt.txt -k 3
- Outputting a decryption
cryptex cc -d -t "Pdb Zdood jxlgh brx! " -k 3 -o exampledecrypt.txt
- Outputting a decryption from an input file
cryptex cc -d -i examplecrypt.txt -k 3 -o exampledecrypt.txt
Back (in my day) before we had an installer for Cryptex we used to have to do the following.
- Change directory into locally cloned repository /src folder
cd ~/git/Cryptex/src
- Run main.py
python3 main.py cc -e -t "May Walla guide you! " -k 3
All of the commands in the encryption / decryption sections work this way.
If you face any problems while using the application, please open an issue here
Contributions, feedback, and bug reports are welcome! Feel free to check out our issues page to find out what you could do! but before contrubuting make sure to check out CONTRIBUTING.md.