pub const fn hash_algorithm() -> &'static strExpand description
Returns the name of the active hash algorithm
The algorithm is selected at compile time based on feature flags:
fast—GxHash(requires AES-NI), falls back toAHashsecure—AHash(DoS-resistant)crypto— Blake3 (cryptographic)- default —
DefaultHasher(std) or FNV-1a (no_std)
§Examples
let algo = domain_key::hash_algorithm();
println!("Using hash algorithm: {algo}");