Skip to main content

Cryption tool

Project description

PyCrypt

made-with-python PyPI version shields.io MIT license

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 cryption
  • category: Returns a list of techniques under a category given by the user
  • encrypt: Encrypts the content of the input file, stores them in output file
  • decrypt: Decrypts the content of the input file, stores them in output 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 saved
  • k 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 saved
  • k 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)

Uploaded Source

Built Distribution

pycrypt_cli-0.5-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for pycrypt-cli-0.5.tar.gz
Algorithm Hash digest
SHA256 20283b35b522b84282c0c9a4fb4a081271e226522a04a47f23331498d1c5420c
MD5 d7c2115dfb0274d7ba157f2aa0f7a786
BLAKE2b-256 9012e83abdecc22f5b9795f678dd6e8938aa4056816ee5d04f29c22ba9abbf15

See more details on using hashes here.

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

Hashes for pycrypt_cli-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 da58c093a81a8f28eb8a970f224dfc39986f529b61b2ca4c359af7955b050ab5
MD5 8c784c53060b8c01788cde768b40957b
BLAKE2b-256 f121efbc53be3d401ff9924781aa487aa54587464b7b532ba6bd3fe973670812

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page