is_valid_private_key

Function is_valid_private_key 

Source
pub const fn is_valid_private_key(
    _secret: &[u8],
    algo: EncryptionAlgorithm,
) -> bool
Expand description

Check if the private key length is valid