Cryption tool
Project description
PyCrypt
PyCrypt is a Command-Line Interface (CLI) program, for encryption and decryption using various techniques. PyCrypt takes in an input file, then encrypts/decrypts and stores the result into the output file, provided by the user.
Pycrypt commands:
all
: Returns a list of all available techniques for cryptioncategory
: Returns a list of techniques under a category given by the userencrypt
: Encrypts the content of theinput
file, stores them inoutput
filedecrypt
: Decrypts the content of theinput
file, stores them inoutput
file
Encrypt
command
The encrypt
command takes 4 parameters:
-t
or--technique
: Technique to be used for encryption-i
or--input_file
: The file whose contents have to be encrypted-o
or--output_file
: The file in which the encrypted data has to be savedk
or--key
: Key that is used in the encrypting technique (if any)
Example
pycrypt encrypt --technique caesercipher --input_file input.txt --output_file output.txt --key 7
Decrypt
command
The decrypt
command takes 4 parameters:
-t
or--technique
: Technique to be used for decryption-i
or--input_file
: The file whose contents have to be decrypted-o
or--output_file
: The file in which the decrypted data has to be savedk
or--key
: Key that is used in the decrypting technique (if any)
Example
pycrypt decrypt --technique caesercipher --input_file input.txt --output_file output.txt --key 7
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycrypt-cli-0.5.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file pycrypt-cli-0.5.tar.gz
.
File metadata
- Download URL: pycrypt-cli-0.5.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20283b35b522b84282c0c9a4fb4a081271e226522a04a47f23331498d1c5420c |
|
MD5 | d7c2115dfb0274d7ba157f2aa0f7a786 |
|
BLAKE2b-256 | 9012e83abdecc22f5b9795f678dd6e8938aa4056816ee5d04f29c22ba9abbf15 |
File details
Details for the file pycrypt_cli-0.5-py3-none-any.whl
.
File metadata
- Download URL: pycrypt_cli-0.5-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da58c093a81a8f28eb8a970f224dfc39986f529b61b2ca4c359af7955b050ab5 |
|
MD5 | 8c784c53060b8c01788cde768b40957b |
|
BLAKE2b-256 | f121efbc53be3d401ff9924781aa487aa54587464b7b532ba6bd3fe973670812 |