Skip to main content

sha2_256

Function sha2_256 

Source
pub fn sha2_256(
    calldata: &Bytes,
    gas_remaining: &mut u64,
    _fork: Fork,
    crypto: &dyn Crypto,
) -> Result<Bytes, VMError>
Expand description

Returns the calldata hashed by sha2-256 algorithm