Skip to main content

About

This code is similar to a "one time pad" (aka Vernam Cipher) which can be used to encode/decode messages.

Notes

  • The key must be the same length as the uncoded text.
  • The key must be truly random.
  • The key must never be reused, in whole or in part.
  • The key must be kept completely secret by the communicating parties.
  • Consider adding (or using) a character (or phrase) that indicates that the message was sent under duress.

Development

For development, run the following commands.

create python environment

python3 -m venv venv
source venv/bin/activate
pip install pytest pytest-cov

run the unit tests

make test

show code coverage

make cov

building for distribution

python3 -m pip install --upgrade build
python3 -m build
python3 -m pip install --upgrade twine

distribute to pypi

make release

Metadata

Release files for kinneyotp 0.0.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for kinneyotp 0.0.17
File Interpreter ABI Platform
kinneyotp-0.0.17-py3-none-any.whl Python 3 none any Details

Release files / kinneyotp-0.0.17-py3-none-any.whl

Download URL kinneyotp-0.0.17-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0241c14e805ffea3795f36dd85d405c347943598b1d65e68ff2301ae7c8f122f
BLAKE2b-256 checksum
How to use checksums
c2d7466dc0782f45e1b45b74fa98272a9c82355f0a7a440313fd5d6d7a33e1a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.0.17 This release

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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