Skip to main content

SeedableState

Type Alias SeedableState 

Source
pub type SeedableState<'secrets> = SeedableState<'secrets, AVALANCHE, SPONGE, COMPACT, PROTECTED>;
Expand description

A [std::hash::BuildHasher] that uses user-provided seed and secrets.

We recommend using RandomState or GlobalState instead for most use cases.

This initializes a RapidHasher with the following settings:

  • AVALANCHE is disabled.
  • SPONGE is enabled.
  • COMPACT is disabled.
  • PROTECTED is disabled.

Use crate::quality::SeedableState for a higher quality but slower hash output where desirable.

Aliased Typeยง

pub struct SeedableState<'secrets> { /* private fields */ }