Why a flip a bin before hashing in this script?

Why a flip a bin before hashing in this script?

From How can I make this PHP merkle root script recursive?

function binFlipByteOrder($string) {
    return implode('', array_reverse(str_split($string, 1)));
}

Why a flip?

https://ift.tt/2DZiAEL

Comments

Popular posts from this blog

What exactly is a block?

Firmware With Unlocked Overclock for Bitmain Antminer Z9 Equihash ASIC Miners

How to use this nodejs script (by:Raghav Sood) that have been posted on the stackexchange