reth_revm::precompile::hash

Function sha256_run

pub fn sha256_run(
    input: &Bytes,
    gas_limit: u64,
) -> Result<PrecompileOutput, PrecompileErrors>
Expand description

Computes the SHA-256 hash of the input data.

This function follows specifications defined in the following references: