This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Implementation of the pen-and-paper VIC cipher

Project Description

This is a Python 3 implementation of the pen-and-paper cipher used by the Soviet spy Reino Häyhänen, codenamed “VICTOR”, in the 1950s.

If you have 3to2 from the PyPI installed you can just run make 3to2 and you will end up with a copy of the cipher implementation in the 3to2/ subdirectory converted to run under Python 2.

Usage

The vic entrypoint has two subcommands, encrypt and decrypt. To encrypt something you have to pass the following as arguments to the encrypt subcommand:

  1. A 10 character key for the straddling checkerboard, with two of those characters being spaces that are used for the second and third layer of the checkerboard.
  2. A 5 digit unique and random message ID.
  3. A 20 character passphrase used to derive keys.
  4. A date used to derive keys and to insert the message ID into the ciphertext. (DDMMYYYY)
  5. A 1 or 2 digit personal identifier, unique per person.
  6. A cleartext message to encrypt.

To decrypt a message you have to pass the following as arguments to the decrypt subcommand:

  1. A 10 character key for the straddling checkerboard, with two of those characters being spaces that are used for the second and third layer of the checkerboard.
  2. A 20 character passphrase used to derive keys.
  3. A date used to derive keys and to insert the message ID into the ciphertext. (DDMMYYYY)
  4. A 1 or 2 digit personal identifier, unique per person.
  5. A cleartext message to encrypt.
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

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
vic-0.0.1-py3-none-any.whl (10.0 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jun 18, 2016
vic-0.0.1.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Jun 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting