Skip to main content

RapidHasher

Type Alias RapidHasher 

Source
pub type RapidHasher<'s> = RapidHasher<'s, AVALANCHE, SPONGE, COMPACT, PROTECTED>;
Expand description

A [std::hash::Hasher] inspired by crate::v3::rapidhash_v3 with a focus on output hash quality.

This is an alias for inner::RapidHasher with the following settings:

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

Use crate::fast::RapidHasher for a lower quality but faster hash output where desirable.

Aliased Typeยง

pub struct RapidHasher<'s> { /* private fields */ }