Skip to main content

create_hash_context

Function create_hash_context 

Source
pub fn create_hash_context() -> HashContext
Expand description

Create a HashContext with LibQHashProvider installed.

This is the umbrella entry point: lib_q_core::create_hash_context returns an empty context; libq::create_hash_context wires the hash implementation from lib-q-hash (all registered hash Algorithm values, no_std + alloc, and WASM-compatible). For the same wiring without panicking on setup failure, use lib_q_hash::create_hash_context and handle its Result.