Summary
https://en.wikipedia.org/wiki/Parity_bit
There should be an option to encode and decode and choose odd or even number of 1 bits.
Examples
Decode odd:
10101000 00101001 -> 00101000 00101001
Encode odd:
00101000 00101001 -> 10101000 00101001
Decode even:
00101000 10101001 -> 00101000 00101001
Encode even:
00101000 00101001 -> 00101000 10101001
Summary
https://en.wikipedia.org/wiki/Parity_bit
There should be an option to encode and decode and choose odd or even number of 1 bits.
Examples
Decode odd:
10101000 00101001 -> 00101000 00101001
Encode odd:
00101000 00101001 -> 10101000 00101001
Decode even:
00101000 10101001 -> 00101000 00101001
Encode even:
00101000 00101001 -> 00101000 10101001