bitwarden_crypto::rsa

Function make_key_pair

Source
pub(crate) fn make_key_pair(
    key: &SymmetricCryptoKey,
) -> Result<RsaKeyPair, CryptoError>
Expand description

Generate a new RSA key pair of 2048 bits