Skip to main content

Simple symmetric GPG file encryption and decryption

Project description

Documentation: http://chrissimpkins.github.io/crypto/

Description

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.4.x (Python version 2.7.9)

Install

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

Upgrade

You can upgrade your crypto version with the command:

$ pip install --upgrade crypto

Usage

Encryption (crypto)

$ crypto <options> [file path] <file path 2...>
$ crypto <options> [directory path] <directory path 2...>

Decryption (decrypto)

$ 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

FAQ link

Issue Reporting

Issue reporting is available on the GitHub repository

Changelog

Changelog link

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

crypto-1.4.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crypto-1.4.0-py2.py3-none-any.whl (18.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file crypto-1.4.0.tar.gz.

File metadata

  • Download URL: crypto-1.4.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for crypto-1.4.0.tar.gz
Algorithm Hash digest
SHA256 16254d2c019541d14d55f1c58b3c4925c53603e851a3dffec3db3de9e181e90e
MD5 0d5ad0a88d54e1c838c9f3a4250cc250
BLAKE2b-256 f30f3b7afd2ba00bc7df904e8d99d84f4295b52af4dfa7940f1ca7d9c128d85b

See more details on using hashes here.

File details

Details for the file crypto-1.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for crypto-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 92cb40957b86b11df7e4a0253d8b8fa7575e97d7c96a25c0ef17889f50d6d065
MD5 f48087b5e90c5314869428dbde98bed4
BLAKE2b-256 937fca19da0c240c09c3e4cc05759cdac8e9403e39d950f40aefd6d55af4862f

See more details on using hashes here.

Supported by

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