Skip to main content

random_hash

Function random_hash 

Source
pub fn random_hash() -> TokenHash
Available on crate feature testing only.
Expand description

A fresh random token hash in bucket 0, so it pairs with the sessions sample_session_for builds on sharded stores.

ยงPanics

If the OS random number generator is unavailable.