A cryptography cli-tool
Project description
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:
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.
Examples
Same commands in ciphit can be used in different variants, for eg:
Decoding -d/--decode
- Passing all parameters, i.e.
-kfor key,-tfor text
$ ciphit -dk password -t "BAxEtd2AO8EGuqIbmVbFQwABhqCAAAAAAF9-z7EjDVV13bKOTLIF-FDXF921sNfGhnSShod4CFHezycHLXQ08AqvBwQoT1zmOd9jt2gZf3VBSHyzfyrsdnvnQ-r5jJPpUKHTlWsZ7i-CW10LmhHzfsBXuQ7b9A4E5DD4EtY="
Final result: Just so you know, this is a text.
- Passing only text
$ ciphit -dt "BAxEtd2AO8EGuqIbmVbFQwABhqCAAAAAAF9-z7EjDVV13bKOTLIF-FDXF921sNfGhnSShod4CFHezycHLXQ08AqvBwQoT1zmOd9jt2gZf3VBSHyzfyrsdnvnQ-r5jJPpUKHTlWsZ7i-CW10LmhHzfsBXuQ7b9A4E5DD4EtY="
Key:
Repeat for confirmation:
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:
$ 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.
License
Licensed under MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ciphit-0.6.2.tar.gz.
File metadata
- Download URL: ciphit-0.6.2.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.2 CPython/3.8.5 Linux/4.14.117-perf+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
887a4076f4f411ac797fc61c9e45039204acc5db9c6dd4ed377237abeaec1e5e
|
|
| MD5 |
8ee53168fd9c98022473f633f949ac92
|
|
| BLAKE2b-256 |
21f961a45616b92c3686867a18cb9c015672768cbf207724893247c75d71538d
|
File details
Details for the file ciphit-0.6.2-py3-none-any.whl.
File metadata
- Download URL: ciphit-0.6.2-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.2 CPython/3.8.5 Linux/4.14.117-perf+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4528123436f5870b99f0a682f632b012a05510ab2a91364f7af3ecc4ce212b8
|
|
| MD5 |
76d8be1cc29502905be9e1e9295d236f
|
|
| BLAKE2b-256 |
606a8d6b1fb568599cd85ff1f26200f5b8aebc45af2fda75a8498bb5e1940d7d
|