🔐 A cryptography command line utility
ciphit
is a basic cryptography cli-tool, Currently only supports AES-CBC.
ciphit can be installed by running pip install ciphit
.
If you want to install from GitHub, use:
pip install git+git://github.com/sgrkmr/ciphit
Currently ciphit doesn’t provide many options. You can list them by running ciphit --help
:
Usage: ciphit [OPTIONS]
Options:
Encode/Decode: [mutually_exclusive, required]
-e, --encode
-d, --decode
--edit To edit Encrypted/Encoded files created by
ciphit.
-k, --key TEXT The key with which text is Encoded/Decoded.
Text/File: [mutually_exclusive]
-t, --text TEXT The text you want to Encode/Decode.
-f, --file FILENAME
--help Show this message and exit.
Make sure you run these commands in Terminal/CMD or any other shell you use.
Same commands in ciphit can be used in different variants, for eg:
-d
/--decode
-k
for key, -t
for text
$ ciphit -dk password -t "BAxEtd2AO8EGuqIbmVbFQwABhqCAAAAAAF9-z7EjDVV13bKOTLIF-FDXF921sNfGhnSShod4CFHezycHLXQ08AqvBwQoT1zmOd9jt2gZf3VBSHyzfyrsdnvnQ-r5jJPpUKHTlWsZ7i-CW10LmhHzfsBXuQ7b9A4E5DD4EtY="
Final result: Just so you know, this is a text.
$ ciphit -dt "BAxEtd2AO8EGuqIbmVbFQwABhqCAAAAAAF9-z7EjDVV13bKOTLIF-FDXF921sNfGhnSShod4CFHezycHLXQ08AqvBwQoT1zmOd9jt2gZf3VBSHyzfyrsdnvnQ-r5jJPpUKHTlWsZ7i-CW10LmhHzfsBXuQ7b9A4E5DD4EtY="
Key:
Repeat for confirmation:
Final result: Just so you know, this is a text.
-d
/--decode
, other parameters will be asked as a prompt:
$ ciphit -d
Key:
Repeat for confirmation:
Opening editor # Enter the ciphered text in editor then save & exit.
Press any key to continue ...
Final result: Just so you know, this is a text.
Similarly other commands can be used.
Licensed under MIT.