Cipher Tools
This is a python library that contains some tools for making ciphers. In was originaly made of use at a childrens workshop at PyCon UK 2019.
Installation
Run the following to install:
pip install cipher-tools
Usage
Shift
Shift some text by an arbitrary amount. Text case is preserved.
Code:
from cipher_tools import shift
shifted_text = shift("AbCdEfgYZ", 2)
print(shifted_text)
Output:
CdEfGhiAB
Rot13
You can encrypt / decrypt text using rot13.
Code:
from cipher_tools import rot13
# Apply Rot13 to a phrase
cipher_text = rot13("Hello, World!")
print(cipher_text)
Output:
Uryyb, Jbeyq!
Code:
from cipher_tools import rot13
# Decrtpt the text
plain_text = rot13("Uryyb, Jbeyq!")
print(plain_text)
Output:
Hello, World!
Metadata
Release files for cipher-tools 0.0.3
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 | |
|---|---|---|---|---|
| cipher-tools-0.0.3.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cipher_tools-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / cipher-tools-0.0.3.tar.gz
| Download URL | cipher-tools-0.0.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b17ad6032ce60afd4d55ebb8de4ac311148585ebb2b22af596cc47aff275f9fe
|
|
BLAKE2b-256 checksum How to use checksums |
46d0cbe70e26731eb63c02b8b8bba65c78a10e6357a74d542408211ff721839b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.8.1 Linux/5.5.5-arch1-1
|
Release files / cipher_tools-0.0.3-py3-none-any.whl
| Download URL | cipher_tools-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
736701eb69d822db2958ec88300735a9b17c6f43fe313e8218e87f92694fc374
|
|
BLAKE2b-256 checksum How to use checksums |
53beb00fa1cd6eebe5633a1c425dbfe3f5b942bc2c9ba53207de17c2b4ce3ef0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.8.1 Linux/5.5.5-arch1-1
|
Security for cipher-tools 0.0.3
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.