Source: Dragon Checksum
Part 1: Generate noise using a modified dragon curve:
- Start with data
a
- Create a copy of the data
b
, reverse and invert it (0 <-> 1)- Create the string
a0b
Repeat until you have enough data, truncate at the end if needed.
From this string calculate a checksum as follows:
- xor each pair of bits, concatenate the results
- If the resulting string has an even length, repeat; if it’s odd, stop
Calculate the checksum of a given initial state expanded to
272
bits.