Module p25::coding::hamming [] [src]

Encoding and decoding of the (15, 11, 3) standard and (10, 6, 3) shortened Hamming codes described by P25.

Both codes can correct up to 1 error. These algorithms are sourced from Coding Theory and Cryptography: The Essentials, Hankerson, Hoffman, et al, 2000.

Modules

shortened

Encoding and decoding of the (10, 6, 3) code.

standard

Encoding and decoding of the (15, 11, 3) code.