Skip to main content

sha256_transform_logic_local

Function sha256_transform_logic_local 

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

Computes a one-block SHA-256 digest for the transform contract.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::json_commands::sha256_transform_logic_local.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::sha256_transform_logic_local(todo!());