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

Uploaded Source

Built Distribution

pycrypt_cli-0.1-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

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