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.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

pycrypt_cli-0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pycrypt-cli-0.0.tar.gz.

File metadata

  • Download URL: pycrypt-cli-0.0.tar.gz
  • Upload date:
  • Size: 5.1 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.0.tar.gz
Algorithm Hash digest
SHA256 985b85a09685c62ef1d13d75bf22acc42668cf2d216402b5e94491f638745ec3
MD5 76c40a64427f3c35f6f95d3e721da8b8
BLAKE2b-256 98e4f48fce04bc3c8407705e0424188ae50c76eace51d3a6db1e6fc1cc269b04

See more details on using hashes here.

File details

Details for the file pycrypt_cli-0.0-py3-none-any.whl.

File metadata

  • Download URL: pycrypt_cli-0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 945b2038a3eb5ea6ddafc3132595ea2963ed9cba1be89eaf95f91c1155af1643
MD5 ba5dbdcf7f06b7b1e7f413b7af4fd8cf
BLAKE2b-256 9d0c595f1544e71c97f0c4f4c612ab155dd2ed021184a6b3adef47d0c3d29d2b

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