Skip to main content

Common classical ciphers implemented in Python. Documentation is available at http://pycipher.readthedocs.io/en/master/ .

Install

pip install git+git://github.com/jameslyons/pycipher

Example usage

>>> from pycipher import ADFGVX
>>> adfgvx = ADFGVX(key='PH0QG64MEA1YL2NOFDXKR3CVS5ZW7BJ9UTI8', keyword='GERMAN')
>>> adfgvx.encipher("Hello world!")
'FVFDAGXAFFFFGFAGADFG'
>>> adfgvx.decipher(_)
'HELLOWORLD'

Feedback

The code is hosted on GitHub: https://github.com/jameslyons/pycipher

If you find any bugs make an issue or create a pull request.

To run the test suite:

python setup.py test

Metadata

Release files for pycipher 0.5.2

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

Source distribution (sdist)

Source distribution for pycipher 0.5.2
File Size Uploaded
pycipher-0.5.2.zip 45.5 kB Details

Release files / pycipher-0.5.2.zip

Download URL pycipher-0.5.2.zip
Size 45.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e5b3b3ef734604da09e1642f9c496a75df850668aee5b18818a3988eec4cd71b
BLAKE2b-256 checksum
How to use checksums
448f765d9889f76b21bf5327bea518786647e48bec1295a2478dd54e8efdb85d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.2 This release

1 release file

0.5.0

1 release file

0.4.1

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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