Skip to main content

— # 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)

Source distribution for vernam 2.5.6
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

Release history Release notifications | RSS feed

This release

2.5.6 This release

1 release file

2.5.5

1 release file

2.5.4

1 release file

2.5.3

1 release file

2.5.2

1 release file

2.5.0

1 release file

2.4.3

1 release file

2.4.2

1 release file

2.4.1

1 release file

2.4.0

1 release file

2.0.0

1 release file

1.1.5

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