Elixir, Bitcoin, Testing, Software Development, Programming.
checksum is 1/32 the length of our originally encoded data. Given that, we also know that the length of our originally encoded data is 32/33 the length of data_and_checksum. The concatenated checksum will fill the remaining space: total_size = bit_size(data_and_checksum) data_size = div(total_size