Class FrodoKEMExtractor
- Namespace
- Org.BouncyCastle.Pqc.Crypto.Frodo
- Assembly
- BouncyCastle.Cryptography.dll
public class FrodoKEMExtractor : IEncapsulatedSecretExtractor
- Inheritance
-
FrodoKEMExtractor
- Implements
- Inherited Members
Constructors
FrodoKEMExtractor(FrodoKeyParameters)
public FrodoKEMExtractor(FrodoKeyParameters privParams)
Parameters
privParamsFrodoKeyParameters
Properties
EncapsulationLength
The length in bytes of the encapsulation.
public int EncapsulationLength { get; }
Property Value
Methods
ExtractSecret(byte[])
Generate an exchange pair based on the recipient public key.
public byte[] ExtractSecret(byte[] encapsulation)
Parameters
encapsulationbyte[]the encapsulated secret.
Returns
- byte[]