Table of Contents

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

privParams SaberKeyParameters

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[]