Skip to main content

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.6.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

Release files for crypto 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crypto 1.4.1
File Size Uploaded
crypto-1.4.1.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crypto 1.4.1
File Interpreter ABI Platform
crypto-1.4.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 31.3 kB

Release files / crypto-1.4.1.tar.gz

Download URL crypto-1.4.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8f2ee9756a0265c18845ac097ae447c75cfbde158abe1361b7491619f866a9bd
BLAKE2b-256 checksum
How to use checksums
120d34dce1487b3158a0ccd0e5982cba0259c798c24c0de4cc25ec265b37cd98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / crypto-1.4.1-py2.py3-none-any.whl

Download URL crypto-1.4.1-py2.py3-none-any.whl
Size 18.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
985120aa86f71545388199f96a2a0e00f7ccfe5ecd14c56355eb399e1a63d164
BLAKE2b-256 checksum
How to use checksums
fcbb0b812dc02e6357606228edfbf5808f5ca0a675a84273578c3a199e841cd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page