Skip to main content

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

  1. Encode UTF-8.
  2. (Optional) XOR with the repeating key.
  3. For each byte, emit 8 tokens: 67 for bit 0, 76 for bit 1, 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)

Source distribution for enc67 0.2.0
File Size Uploaded
enc67-0.2.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for enc67 0.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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