Skip to main content

hash_script

Function hash_script 

Source
pub fn hash_script(script: &Script) -> [u8; 32]
Expand description

Computes the SHA-256 hash of a given script and returns the resulting 32-byte array.