Function hpke_kem::GenerateKeyPair
source · [−]pub fn GenerateKeyPair(
alg: KEM,
randomness: Randomness
) -> Result<KeyPair, HpkeError>
Expand description
Randomized algorithm to generate a key pair (skX, pkX)
.
pub fn GenerateKeyPair(
alg: KEM,
randomness: Randomness
) -> Result<KeyPair, HpkeError>
Randomized algorithm to generate a key pair (skX, pkX)
.