Skip to main content

ash_hash_proof

Function ash_hash_proof 

Source
pub fn ash_hash_proof(proof: &str) -> Result<String, AshError>
Expand description

Hash a proof for chaining purposes.

Used to create chain links between sequential requests.

ยงErrors

Returns error if proof is empty. BUG-029: Empty proofs should not be allowed in chains to prevent ambiguous chain starts.