Struct ring::hkdf::Salt [−][src]
pub struct Salt(_);
Expand description
A salt for HKDF operations.
Implementations
Constructs a new Salt
with the given value based on the given digest
algorithm.
Constructing a Salt
is relatively expensive so it is good to reuse a
Salt
object instead of re-constructing Salt
s with the same value.