Skip to main content

canonical_program_hash

Function canonical_program_hash 

Source
pub fn canonical_program_hash(source: &str) -> Option<String>
Expand description

The canonical program hash: SHA-256/128 over the sorted (identity, canon_hash) pairs — insensitive to formatting, comments, declaration order, and rule-binding names. None when the source has no canonical form.