語言

MLKem.ExportPrivateSeed 方法

定義

出口私人種子。

多載

名稱 Description
ExportPrivateSeed()

出口私人種子。

ExportPrivateSeed(Span<Byte>)

將私有種子匯出到提供的緩衝區。

ExportPrivateSeed()

來源:
MLKem.cs
來源:
MLKem.cs
來源:
MLKem.cs

出口私人種子。

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

傳回

Byte[]

私人種子。

例外狀況

目前的實例無法匯出種子。

-或-

匯出金鑰時發生錯誤。

對象已經處置。

適用於

ExportPrivateSeed(Span<Byte>)

來源:
MLKem.cs
來源:
MLKem.cs
來源:
MLKem.cs

將私有種子匯出到提供的緩衝區。

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

參數

destination
Span<Byte>

接收私有種子的緩衝區。

例外狀況

destination 是接收私有種子的錯誤長度。

目前的實例無法匯出種子。

-或-

匯出金鑰時發生錯誤。

對象已經處置。

適用於