Skip to main content

context

Function context 

Source
pub fn context(
    pbkdf_param_request: &[u8],
    pbkdf_param_response: &[u8],
) -> [u8; 32]
Available on crate feature rustcrypto only.
Expand description

Computes the Context of §3.10.3.

“in case PBKDFParamRequest and PBKDFParamResponse messages are not exchanged, they SHALL be replaced by empty strings” — which is what passing empty slices does.