项目作者: sgrkmr

项目描述 :
🔐 A cryptography command line utility
高级语言: Python
项目地址: git://github.com/sgrkmr/ciphit.git
创建时间: 2020-06-10T12:59:18Z
项目社区:https://github.com/sgrkmr/ciphit

开源协议:MIT License

下载



Ciphit


PyPi
Downloads
Commits
python3

License: MIT
Code style

⚠️DEPRECATED⚠️


ciphit is a basic cryptography cli-tool, Currently only supports AES-CBC.


Installation and Usage

Installation

ciphit can be installed by running pip install ciphit.

Install from GitHub

If you want to install from GitHub, use:

pip install git+git://github.com/sgrkmr/ciphit

Usage

Command line options

Currently ciphit doesn’t provide many options. You can list them by running ciphit --help:

  1. Usage: ciphit [OPTIONS]
  2. Options:
  3. Encode/Decode: [mutually_exclusive, required]
  4. -e, --encode
  5. -d, --decode
  6. --edit To edit Encrypted/Encoded files created by
  7. ciphit.
  8. -k, --key TEXT The key with which text is Encoded/Decoded.
  9. Text/File: [mutually_exclusive]
  10. -t, --text TEXT The text you want to Encode/Decode.
  11. -f, --file FILENAME
  12. --help Show this message and exit.

Make sure you run these commands in Terminal/CMD or any other shell you use.

Examples

Same commands in ciphit can be used in different variants, for eg:

Decoding -d/--decode

  • Passing all parameters, i.e. -k for key, -t for text
  1. $ ciphit -dk password -t "BAxEtd2AO8EGuqIbmVbFQwABhqCAAAAAAF9-z7EjDVV13bKOTLIF-FDXF921sNfGhnSShod4CFHezycHLXQ08AqvBwQoT1zmOd9jt2gZf3VBSHyzfyrsdnvnQ-r5jJPpUKHTlWsZ7i-CW10LmhHzfsBXuQ7b9A4E5DD4EtY="
  2. Final result: Just so you know, this is a text.
  • Passing only text
  1. $ ciphit -dt "BAxEtd2AO8EGuqIbmVbFQwABhqCAAAAAAF9-z7EjDVV13bKOTLIF-FDXF921sNfGhnSShod4CFHezycHLXQ08AqvBwQoT1zmOd9jt2gZf3VBSHyzfyrsdnvnQ-r5jJPpUKHTlWsZ7i-CW10LmhHzfsBXuQ7b9A4E5DD4EtY="
  2. Key:
  3. Repeat for confirmation:
  4. Final result: Just so you know, this is a text.
  • OR You can just pass -d/--decode, other parameters will be asked as a prompt:
  1. $ ciphit -d
  2. Key:
  3. Repeat for confirmation:
  4. Opening editor # Enter the ciphered text in editor then save & exit.
  5. Press any key to continue ...
  6. Final result: Just so you know, this is a text.

Similarly other commands can be used.

License

Licensed under MIT.