Hawkynt

Miller Encoding

Educational implementation of Miller encoding adapted as a stream cipher. Miller encoding is a line code where data bits are encoded with clock transitions for synchronization, adapted here for cryptographic demonstration.

Properties

Property Value
Category Stream Ciphers
Sub-category Stream Cipher
Security status πŸŽ“ Educational Only
Complexity Beginner
Inventor Miller et al.
Year 1963
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/stream/miller.js

Parameters

Parameter Supported values
Key sizes 1 byte (8 bits) to 256 bytes (2048 bits)
Block sizes 1 byte (8 bits) to 65536 bytes (524288 bits)

Security

Status: πŸŽ“ Educational Only

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

1 vector ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 β€” Miller Encoding Test Vector

Source: Reference implementation output

Field Value
key 00010203040506070809101112131415
input 0001020304050607
expected 1808021206120212

← All algorithms