Table of Contents

Class HqcKemExtractor

Namespace
Org.BouncyCastle.Pqc.Crypto.Hqc
Assembly
BouncyCastle.Cryptography.dll
public class HqcKemExtractor : IEncapsulatedSecretExtractor
Inheritance
HqcKemExtractor
Implements
Inherited Members

Constructors

HqcKemExtractor(HqcPrivateKeyParameters)

public HqcKemExtractor(HqcPrivateKeyParameters privParams)

Parameters

privParams HqcPrivateKeyParameters

Properties

EncapsulationLength

The length in bytes of the encapsulation.

public int EncapsulationLength { get; }

Property Value

int

Methods

ExtractSecret(byte[])

Generate an exchange pair based on the recipient public key.

public byte[] ExtractSecret(byte[] encapsulation)

Parameters

encapsulation byte[]

the encapsulated secret.

Returns

byte[]