revm_precompile::hash

Function sha256_run

Source
pub fn sha256_run(input: &Bytes, gas_limit: u64) -> PrecompileResult
Expand description

Computes the SHA-256 hash of the input data.

This function follows specifications defined in the following references: