MLKem.ExportEncapsulationKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
The encapsulation key.
Exceptions
An error occurred exporting the encapsulation key.
The object has already been disposed.