Hawkynt

Justesen Code

First asymptotically good codes with constant rate, constant relative distance, and constant alphabet size. Constructed by concatenating Reed-Solomon outer code with Wozencraft ensemble inner codes. Discovered by JΓΈrn Justesen in 1972. Used to prove existence of codes meeting Gilbert-Varshamov bound.

Properties

Property Value
Category Error Correction
Sub-category Concatenated Code
Security status πŸŽ“ Educational Only
Complexity Expert
Inventor JΓΈrn Justesen
Year 1972
Origin Not specified
Source algorithms/ecc/justesen-code.js

Security

Status: πŸŽ“ Educational Only

Known vulnerabilities

Issue Description Mitigation
Decoding Complexity Concatenated structure requires two-stage decoding (outer RS + inner Wozencraft). β€”
Alphabet Size Binary codes derived from larger alphabet, affecting practical implementation. β€”

Documentation

References

Test vectors

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

Vector 1 β€” Justesen code all zeros

Field Value
input 00000000
expected 0000000000000000

Vector 2 β€” Justesen code pattern 1000

Field Value
input 01000000
expected 0100010000000000

Vector 3 β€” Justesen code pattern 0100

Field Value
input 00010000
expected 0001000100000000

Vector 4 β€” Justesen code pattern 1100

Field Value
input 01010000
expected 0101010100000000

← All algorithms