Skip to main content

detected_backend

Function detected_backend 

Source
pub fn detected_backend() -> Backend
Expand description

The Backend this CPU resolved to, cached after the first call.

Diagnostic only — the hashing entry points resolve it for you. Remember it only speaks for batch throughput: hash and verify always run scalar (see the crate-level “What SIMD does — and does not — do here”).

println!("bcrypt backend: {}", bcrypt_rust::detected_backend());