enc67
Encode bytes as a stream of 67 and 76 tokens. Optional repeating-XOR key for light obfuscation.
⚠️ Not real encryption. The optional key is repeating-XOR (Vigenère on bytes). Use it as a toy or for fun — not for secrets.
Install
pip install enc67
Use it
from enc67 import encrypt, decrypt
ct = encrypt("Hi", key="secret")
# '67 67 76 76 76 67 76 76 67 67 67 67 76 76 67 67'
decrypt(ct, key="secret")
# 'Hi'
Or from the CLI:
enc67 encrypt "Hi" secret
enc67 decrypt "67 67 76 ..." secret
How it works
- Encode UTF-8.
- (Optional) XOR with the repeating key.
- For each byte, emit 8 tokens:
67for bit0,76for bit1, big-endian.
No key → pure encoding. With a key → toy obfuscation.
License
MIT.
Metadata
Release files for enc67 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| enc67-0.2.0.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| enc67-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / enc67-0.2.0.tar.gz
| Download URL | enc67-0.2.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8426f7d98d12d481737aef67a9332bacc0c6a1f2ac0881554f7a4b11307af52
|
|
BLAKE2b-256 checksum How to use checksums |
06ac93e69647d10208edc512310355c23df4c58cc7eba7f7d32f541f9e947954
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / enc67-0.2.0-py3-none-any.whl
| Download URL | enc67-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
280245067b3e1a5201ddd2f2e094f62237dc31254d6bf61091b46fb91a379a05
|
|
BLAKE2b-256 checksum How to use checksums |
3056805e5f4b6cf7182a5efa6e42b0ae8b0722dbc6463cd32fba2688ac8c3578
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|