Hawkynt

Algebraic Geometry Code

Evaluation AG codes constructed from algebraic curves over finite fields via the Goppa construction. First codes to exceed the Gilbert-Varshamov bound asymptotically. Generalize Reed-Solomon codes by using function fields and the Riemann-Roch theorem. This implementation demonstrates evaluation construction over GF(4) using a genus-1 elliptic curve.

Properties

Property Value
Category Error Correction
Sub-category Algebraic Geometry Code
Security status πŸŽ“ Educational Only
Complexity Expert
Inventor V. D. Goppa, Tsfasman-Vladut-Zink
Year 1981
Origin πŸ‡·πŸ‡Ί Russia
Source algorithms/ecc/algebraic-geometry-code.js

Security

Status: πŸŽ“ Educational Only

Known vulnerabilities

Issue Description Mitigation
Decoding Complexity AG code decoding requires sophisticated algebraic geometry algorithms (e.g., Guruswami-Sudan list decoding) with higher computational cost than Reed-Solomon. β€”
Construction Complexity Requires advanced knowledge of algebraic curves, divisors, and Riemann-Roch theorem to design codes with specific parameters. β€”
Field Size Requirements Achieving asymptotic advantages requires working over larger finite fields where curve constructions become more complex. β€”

Documentation

References

Test vectors

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

Vector 1 β€” AG [8,4] all-zeros codeword

Field Value
input 00000000
expected 0000000000000000

Vector 2 β€” AG [8,4] constant function f=1

Field Value
input 01000000
expected 0101010101010101

Vector 3 β€” AG [8,4] coordinate function f=x

Field Value
input 00010000
expected 0000010102020303

Vector 4 β€” AG [8,4] coordinate function f=y

Field Value
input 00000100
expected 0001000102030203

Vector 5 β€” AG [8,4] polynomial function f=x^2

Field Value
input 00000001
expected 0000010103030202

Vector 6 β€” AG [8,4] linear combination f=1+x

Field Value
input 01010000
expected 0101000003030202

Vector 7 β€” AG [8,4] linear combination f=x+y

Field Value
input 00010100
expected 0001010000010100

Vector 8 β€” AG [8,4] full combination f=1+x+y+x^2

Field Value
input 01010101
expected 0100010002030203

← All algorithms