Skip to main content

hash256

Function hash256 

Source
pub fn hash256(data: &[u8]) -> [u8; 32]
Expand description

Computes HASH256: double SHA-256.

This is the standard Bitcoin transaction and block hash function.

hash256(data) = sha256(sha256(data))