We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Decode odd:
10101000 00101001 -> 00101000 00101001
Encode odd:
00101000 00101001 -> 10101000 00101001
Decode even:
00101000 10101001 -> 00101000 00101001
Encode even:
00101000 00101001 -> 00101000 10101001
The text was updated successfully, but these errors were encountered:
Depending on how it is done and if error should be outputted if the input doesn't have parity.
Decode (even || odd) can be implemented as AND({'option':'Binary','string':'01111111'})
AND({'option':'Binary','string':'01111111'})
Sorry, something went wrong.
[gchq#927] added parity bit operation
ea2e9b8
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: