One-Time-Pad Python
One-Time-Pad Python is a command-line encryption tool, which uses an encryption mechanism very similar to One-time Pad (Duh. Thanks for telling that)
Installation
Install it using pip:
$ pip install onetimepad
Usage
To use it from the command-line, run:
$ onetimepad
Or, import the onetimepad module in your script:
#!/usr/bin/env python3
import onetimepad
cipher = onetimepad.encrypt('some text', 'a_random_key')
msg = onetimepad.decrypt(cipher, 'a_random_key')
Security
The crypted message is very easy to crack if the length of key is less than the length of message.
In any case, the key is not nescessarily random, which makes this tool as good as a toy.
Thus, do not encrypt any real private stuff, it won’t protect you from the NSA. It is just a hack.
Copying
This project is licensed under the terms of MIT LICENSE, please see LICENSE file for more details.
Metadata
Release files for onetimepad 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| onetimepad-1.4.tar.gz | 3.3 kB | Without provenance | Details for onetimepad-1.4.tar.gz |
Release files / onetimepad-1.4.tar.gz
| Download URL | onetimepad-1.4.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1eaade76d8036e1cb79e944b75874bfe5ee4046a571c0724564e1721565c73fd
|
|
BLAKE2b-256 checksum How to use checksums |
85152c9824da8742543eba7d48aafd479cf67c87e880b5a0035709d500d8447b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for onetimepad 1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.