Function bitcoin::utils::sha256d

source ·
pub fn sha256d(bytes: &[u8]) -> [u8; 32]
Expand description

Computes Bitcoin’s double SHA256 hash over a LE byte encoded input

Arguments

  • data: LE bytes encoded input

Returns

  • The double SHA256 hash encoded as LE bytes from data