Edit

Share via


MLKem.Decapsulate Method

Definition

Overloads

Decapsulate(Byte[])

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

Parameters

ciphertext
Byte[]

Returns

Byte[]

Applies to

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

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

Parameters

ciphertext
ReadOnlySpan<Byte>
sharedSecret
Span<Byte>

Applies to