Author: Jonas Schnelli 2016-06-28 07:19:04
Published on: 2016-06-28T07:19:04+00:00
The context discusses the use of SHA512_HMAC and suggests using SHA256_HMAC instead. The author questions the weak reason to introduce SHA512 and proposes using two SHA256 operations instead. While SHA512_HMAC is used by BIP32 and most clients will make use of bip32 features, the author believes a single SHA512_HMAC operation is cheaper and simpler than two SHA256_HMAC operations. The current p2p and consensus layer do not use sha256_hmac, and Bitcoin-Core only uses it for HTTP RPC auth and Tor control. The author sees no significant pros or cons for SHA512_HMAC over SHA256_HMAC. A link to the BIP32 specification is also provided.
Updated on: 2023-06-11T18:52:34.593167+00:00