Metadata-Version: 2.4
Name: enc67
Version: 0.2.0
Summary: Encode bytes as a stream of 67s and 76s, with optional XOR obfuscation.
Project-URL: Homepage, https://pypi.org/project/enc67/
Author-email: Snorre <snorre@addmedia.no>
License: MIT
License-File: LICENSE
Keywords: 67,encoding,fun,obfuscation
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 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

```bash
pip install enc67
```

## Use it

```python
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:

```bash
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.
