語言

CompositeMLKem.Decapsulate 方法

定義

多載

Decapsulate(Byte[])

來源:
CompositeMLKem.cs
public:
 cli::array <System::Byte> ^ Decapsulate(cli::array <System::Byte> ^ ciphertext);
public byte[] Decapsulate(byte[] ciphertext);
member this.Decapsulate : byte[] -> byte[]
Public Function Decapsulate (ciphertext As Byte()) As Byte()

參數

ciphertext
Byte[]

傳回

Byte[]

適用於

Decapsulate(ReadOnlySpan<Byte>, Span<Byte>)

來源:
CompositeMLKem.cs
public:
 void Decapsulate(ReadOnlySpan<System::Byte> ciphertext, Span<System::Byte> sharedSecret);
public void Decapsulate(ReadOnlySpan<byte> ciphertext, Span<byte> sharedSecret);
member this.Decapsulate : ReadOnlySpan<byte> * Span<byte> -> unit
Public Sub Decapsulate (ciphertext As ReadOnlySpan(Of Byte), sharedSecret As Span(Of Byte))

參數

ciphertext
ReadOnlySpan<Byte>
sharedSecret
Span<Byte>

適用於