Skip to main content

generate_key

Function generate_key 

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

Generate a fresh random keypair, returning both halves.