Skip to main content

secret_length

Function secret_length 

Source
pub(crate) fn secret_length(
    normalized_algorithm: &SubtleEcdhKeyDeriveParams,
) -> Result<u32, Error>
Expand description

Given a normalizedAlgorithm (an EcdhKeyDeriveParams dictionary), return the length of the secret derived by the named curve specified by the named_curve member of the [[algorithm]] slot of the public member of normalizedAlgorithm.