Hawkynt

yEnc (Usenet Binary Encoding)

Binary-to-text encoding scheme developed by Jürgen Helbing for Usenet newsgroup postings. More efficient than UUEncoding and Base64 for binary data transmission over 8-bit clean channels, achieving only ~2% overhead. Educational implementation following yEnc specification 1.2.

Properties

Property Value
Category Encoding Schemes
Sub-category Binary-to-Text Encoding
Security status 🎓 Educational Only
Complexity Intermediate
Inventor Jürgen Helbing
Year 2001
Origin 🇩🇪 Germany
Source algorithms/encoding/yenc.js

Security

Status: 🎓 Educational Only

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 — yEnc empty data test

Field Value
input (empty)
expected (empty)

Vector 2 — Single byte encoding test - yEnc

Field Value
input 41
expected 6b

Vector 3 — NULL byte escaping test - yEnc

Field Value
input 00
expected 3d6a

← All algorithms