bdk_chain::bitcoin::hashes

Module sha512_256

Expand description

SHA512_256 implementation.

SHA512/256 is a hash function that uses the sha512 algorithm but it truncates the output to 256 bits. It has different initial constants than sha512 so it produces an entirely different hash compared to sha512. More information at https://eprint.iacr.org/2010/548.pdf.

Structsยง

  • Output of the SHA512/256 hash function.
  • Engine to compute SHA512/256 hash function.