Skip to content

Cryptex Syntax

Alex Kollar edited this page Oct 16, 2022 · 2 revisions

Forward

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.

Getting help

Say you forget the syntax of a cipher.

  1. launch the menu
cryptex
  1. 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 Cryptex

  1. Encrypting with text on the fly
cryptex cc -e -t "May Walla guide you! " -k 3
  1. Encrypting a text file
cryptex cc -e -i example.txt -k 3
  1. Outputting an encryption
cryptex cc -e -t "May Walla Guide you! " -k 3 -o example.txt
  1. Outputting an encryption from an input file
cryptex cc -e -i example.txt -k 3 -o examplecrypt.txt

Decryption with Cryptex

  1. Decryption of text on the fly
cryptex cc -d -t "Pdb Zdood jxlgh brx! " -k 3
  1. Decryption of a text file.
cryptex cc -d -i examplecrypt.txt -k 3
  1. Outputting a decryption
cryptex cc -d -t "Pdb Zdood jxlgh brx! " -k 3 -o exampledecrypt.txt
  1. Outputting a decryption from an input file
cryptex cc -d -i examplecrypt.txt -k 3 -o exampledecrypt.txt

The 'other' way

Back (in my day) before we had an installer for Cryptex we used to have to do the following.

  1. Change directory into locally cloned repository /src folder
cd ~/git/Cryptex/src
  1. 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.

Wiki Sidebar


🖐️ Get in touch

You can join in on chatting with the dev team on our discord server

Discord Server

🔧 Issues

If you face any problems while using the application, please open an issue here

🤝 Contributing

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.

Clone this wiki locally