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

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password

When downloading the blockchain my application is become unusable, is there an issue with my code or am I using the BitcoinJ library incorrectly?

Mistakenly sent BTC from my personal wallet back to one of the exchange wallet addresses that I had received BTC from before - help recovering!