Why a flip a bin befor a hash ? (in this script)

Why a flip a bin befor a hash ? (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/2r4d77p

Comments

Popular posts from this blog

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

How generic miner connects to bitcoin or ethereum network and does it needs to store entire blockchain?