Simple symmetric GPG file encryption and decryption
crypto provides a simple interface to symmetric Gnu Privacy Guard (gpg) encryption and decryption for one or more files on Unix and Linux platforms. It runs on top of gpg and requires a gpg install on your system. Encryption is performed with the AES256 cipher algorithm. Benchmarks relative to default gpg settings are available for text and binary file mime types.
crypto provides a number of options including automated tar archives of multiple files prior to encryption, portable ASCII armored encryption formatting, and SHA256 hash digest generation for your encrypted files. You can view all available options in the usage documentation or with the --help option.
Tested in cPython 2.7.x, 3.4.x, and pypy 2.6.x (Python version 2.7.9)
Install with pip using the command:
$ pip install crypto
or download the source repository, unpack it, and navigate to the top level of the repository. Then enter:
$ python setup.py install
You can upgrade your crypto version with the command:
$ pip install --upgrade crypto
$ crypto <options> [file path] <file path 2...>
$ crypto <options> [directory path] <directory path 2...>
$ decrypto <options> [file path] <file path 2...>
$ decrypto <options> [directory path] <directory path 2...>
You can find all available options in the documentation or by using one of the following commands:
$ crypto --help $ decrypto --help
Frequently Asked Questions
Issue reporting is available on the GitHub repository
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|crypto-1.4.1-py2.py3-none-any.whl (18.0 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||May 14, 2015|
|crypto-1.4.1.tar.gz (13.3 kB) Copy SHA256 Checksum SHA256||–||Source||May 14, 2015|