Parity Bit

Add or remove parity bits using the selected parity mode and bit position.

Input: TextResult: Text

Text input

Run to see the result

Examples

Parity bit encode in even parity, 1 block of binary of arbitrary length, append, odd number of 1s

Input

01010101 10101011

Expected answer

01010101 101010111
Mode
Even Parity
Postion
End
Encode or Decode
Encode
Delimiter
(empty)
Parity bit encode in even parity, 1 block of binary of arbitrary length, prepend, even number of 1s

Input

01010101 10101010

Expected answer

001010101 10101010
Mode
Even Parity
Postion
Start
Encode or Decode
Encode
Delimiter
(empty)
Parity bit encode in even parity, 1 block of binary of arbitrary length, prepend, odd number of 1s

Input

01010101 10101011

Expected answer

101010101 10101011
Mode
Even Parity
Postion
Start
Encode or Decode
Encode
Delimiter
(empty)
Parity bit encode in odd parity, 1 block of binary of arbitrary length, append, odd number of 1s

Input

01010101 10101011

Expected answer

01010101 101010110
Mode
Odd Parity
Postion
End
Encode or Decode
Encode
Delimiter
(empty)
Parity bit encode in odd parity, 1 block of binary of arbitrary length, prepend, even number of 1s

Input

01010101 10101010

Expected answer

101010101 10101010
Mode
Odd Parity
Postion
Start
Encode or Decode
Encode
Delimiter
(empty)
Parity bit encode in odd parity, 1 block of binary of arbitrary length, prepend, odd number of 1s

Input

01010101 10101011

Expected answer

001010101 10101011
Mode
Odd Parity
Postion
Start
Encode or Decode
Encode
Delimiter
(empty)

If a delimiter is specified, the parity bit calculation will be performed on each 'block' of the input data, where the blocks are created by slicing the input at each occurrence of the delimiter character

Format reference: Parity Bit background and specification

Related tools

Browse hashing tools