paritykoder
Paritykoder, or parity codes, are a family of simple error-detecting schemes used in data transmission and storage. They work by appending a parity bit to a data unit (such as a byte or a word) so that the total number of 1 bits conforms to a predefined parity, typically even or odd.
With even parity, the parity bit is chosen so that the total count of 1s is even;
Parity codes are inexpensive and easy to implement in hardware or software, making them common in simple
Variants include two-dimensional parity, which adds parity bits for both rows and columns, enabling the location