Class SaberKemExtractor
- Namespace
- Org.BouncyCastle.Pqc.Crypto.Saber
- Assembly
- BouncyCastle.Cryptography.dll
public sealed class SaberKemExtractor : IEncapsulatedSecretExtractor
- Inheritance
-
SaberKemExtractor
- Implements
- Inherited Members
Constructors
SaberKemExtractor(SaberKeyParameters)
public SaberKemExtractor(SaberKeyParameters privParams)
Parameters
privParamsSaberKeyParameters
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[]