Skip to main content

generate_key

Function generate_key 

Source
pub async fn generate_key(
    options: AgreementKeyOptions,
) -> Result<(SecretKey, PublicKey), Error>
Expand description

Generate a fresh X25519 key pair.