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

How do 'Sphinx' invoice-less payments on the Lightning Network work?

How public key is calculated from a base58 encoded private key?

QUESTION ABOUT SLOW API