pub trait Ksf: Default {
fn hash<L: ArrayLength<u8>>(
&self,
input: GenericArray<u8, L>
) -> Result<GenericArray<u8, L>, InternalError>;
}
Expand description
Used for the key stretching function in OPAQUE
Required Methods
sourcefn hash<L: ArrayLength<u8>>(
&self,
input: GenericArray<u8, L>
) -> Result<GenericArray<u8, L>, InternalError>
fn hash<L: ArrayLength<u8>>(
&self,
input: GenericArray<u8, L>
) -> Result<GenericArray<u8, L>, InternalError>
Computes the key stretching function