Skip to main content

Several simple cipher algorithms

Project description

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

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

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

pycipher-0.5.0.zip (36.6 kB view details)

Uploaded Source

File details

Details for the file pycipher-0.5.0.zip.

File metadata

  • Download URL: pycipher-0.5.0.zip
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycipher-0.5.0.zip
Algorithm Hash digest
SHA256 c08b1543ed4e08a0aad85ee485b812676468526f6d9b591a124066afa8136910
MD5 24f2a3e07aba842e1fc4fab570ce7ff5
BLAKE2b-256 772fe69ff236aeb23f79bd36d84574176593b78a3e1418348eb5b7a785e9e224

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