Skip to main content

checksum_string

Function checksum_string 

Source
pub fn checksum_string(value: &str) -> Option<String>
Expand description

Computes a SHA-256 checksum without invoking a host utility.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::checksum_string can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::checksum_string("value");