— # Vernam 2.5.6
### Synopsis A simple vernam (or OTP) encryption / decription program in python
— ### Code Example Encode message “super_secret_message” with key “very_secret_key”, store in variable “encoded”, and print as a list. ~~~ >>> encoded = vernam(“super_secret_message”, “very_secret_key”) >>> print( encoded ) ~~~
Decode message stored in variable “encoded” with key “very_secret_key”, store in variable “decoded”, and print as a string. ~~~ >>> decoded = vernam(encoded, “very_secret_key”) >>> print( “”.join(decoded) ) ~~~ — ### Installation Install: ~~~ >>> $ pip install vernam ~~~ Import: ~~~ >>> $ from vernam import vernam ~~~ — ### CLI Usage ~~~ vernam <message> <key> ~~~ — ### License [MIT Licence](https://choosealicense.com/licenses/mit/#)
—
Release files for vernam 2.5.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vernam-2.5.6.tar.gz | 2.7 kB | Details |
Release files / vernam-2.5.6.tar.gz
| Download URL | vernam-2.5.6.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4931f46ca31c613efa6f3575da90f2ba4b4927f72f44977a0d7f529c7d3f9735
|
|
BLAKE2b-256 checksum How to use checksums |
9e9f0f594f08b916a46eae676f2dfd3bb14172f033dffd1a01090ed4f78b1929
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |