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

Tor proxy on Electrum, what does Port: 9150 and 9050 mean?

How to discover startup flags or command-line options for bitcoind?

Can we see Blockchain decentralized data like a mathematical duality or morphisms between representations?