DynSaltSlice

Type Alias DynSaltSlice 

Source
pub type DynSaltSlice<'s> = SaltSlice<'s>;
Available on crate feature allow-non-fips only.
Expand description

A salt::Slice which will be a FipsSaltSlice if the allow-non-fips feature is disabled, or a SaltSlice if the feature is enabled.

§Notes

  • In FIPS mode (allow-non-fips is disabled), this type ensures that the salt meets the FIPS minimum requirement of 128 bits.
  • In non-FIPS mode (allow-non-fips is enabled), this type allows more relaxed salt constraints.

Aliased Type§

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