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:
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.
A 5 digit unique and random message ID.
A 20 character passphrase used to derive keys.
A date used to derive keys and to insert the message ID into the ciphertext. (DDMMYYYY)
A 1 or 2 digit personal identifier, unique per person.
A cleartext message to encrypt.
To decrypt a message you have to pass the following as arguments to the decrypt subcommand:
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.
A 20 character passphrase used to derive keys.
A date used to derive keys and to insert the message ID into the ciphertext. (DDMMYYYY)
A 1 or 2 digit personal identifier, unique per person.
A cleartext message to encrypt.
Release files for vic 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vic-0.0.1.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vic-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / vic-0.0.1.tar.gz
| Download URL | vic-0.0.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f276025515fea20ed259cb7d3d3d1c2c74d54f4a2dd69b3d1afa3bdd99436e03
|
|
BLAKE2b-256 checksum How to use checksums |
f52f4e5757e63a51f3a870e20718a79151d13ffdcc29540ea8d3c869811ae703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / vic-0.0.1-py3-none-any.whl
| Download URL | vic-0.0.1-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cffab002b352752a8dd97b7296d7272afb9a0eaccf5f17941ac68315a283e851
|
|
BLAKE2b-256 checksum How to use checksums |
22820b5af225b8caaa46ffef8a2b3beecd5cf1b7044decc3ca49d3075b6576de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |