Edit

Share via


MLKem.ExportEncapsulationKey Method

Definition

Overloads

ExportEncapsulationKey(Span<Byte>)

Exports the encapsulation key into the provided buffer.

ExportEncapsulationKey()

Exports the encapsulation key.

ExportEncapsulationKey(Span<Byte>)

Source:
MLKem.cs
Source:
MLKem.cs

Exports the encapsulation key into the provided buffer.

public:
 void ExportEncapsulationKey(Span<System::Byte> destination);
public void ExportEncapsulationKey(Span<byte> destination);
member this.ExportEncapsulationKey : Span<byte> -> unit
Public Sub ExportEncapsulationKey (destination As Span(Of Byte))

Parameters

destination
Span<Byte>

The buffer to receive the encapsulation key.

Exceptions

destination is the incorrect length to receive the encapsulation key.

An error occurred exporting the encapsulation key.

The object has already been disposed.

Applies to

ExportEncapsulationKey()

Source:
MLKem.cs
Source:
MLKem.cs

Exports the encapsulation key.

public:
 cli::array <System::Byte> ^ ExportEncapsulationKey();
public byte[] ExportEncapsulationKey();
member this.ExportEncapsulationKey : unit -> byte[]
Public Function ExportEncapsulationKey () As Byte()

Returns

Byte[]

The encapsulation key.

Exceptions

An error occurred exporting the encapsulation key.

The object has already been disposed.

Applies to