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