MLKem.ExportPrivateSeed 方法

定义

重载

名称 说明
ExportPrivateSeed()

导出专用种子。

ExportPrivateSeed(Span<Byte>)

将专用种子导出到提供的缓冲区。

ExportPrivateSeed()

Source:
MLKem.cs
Source:
MLKem.cs
Source:
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>)

Source:
MLKem.cs
Source:
MLKem.cs
Source:
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 接收专用种子的长度不正确。

当前实例无法导出种子。

-或-

导出密钥时出错。

对象已释放。

适用于