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

Uploaded Source

Built Distribution

pycrypt_cli-0.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycrypt-cli-0.3.tar.gz
  • Upload date:
  • Size: 5.4 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.3.tar.gz
Algorithm Hash digest
SHA256 7791d99746169d4595b2f516eaa3d4921f2bb3c0ed3601e95618e8fe66819021
MD5 71f86b0df2fd520b2710f251d42165c7
BLAKE2b-256 310462c0ac49d1ca0c22826438cb531bc8e82aa2f9812ccda21368b161cd1a1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycrypt_cli-0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb9980ca601dacbdec6cee54523bc7be159a4cc965d90d9b33e545ae8a1a5504
MD5 234da95d15a3a318d933f8d2601d4a85
BLAKE2b-256 ae59aafe8c415c4292cf18f02c8e515a7558a24bcaa0a37b7c743aeb8fa87847

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