MLKem.Encapsulate 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
Encapsulate(Byte[], Byte[])
- Source:
- MLKem.cs
public:
void Encapsulate([Runtime::InteropServices::Out] cli::array <System::Byte> ^ % ciphertext, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % sharedSecret);
public void Encapsulate(out byte[] ciphertext, out byte[] sharedSecret);
member this.Encapsulate : Byte[] * Byte[] -> unit
Public Sub Encapsulate (ByRef ciphertext As Byte(), ByRef sharedSecret As Byte())
Parameters
- ciphertext
- Byte[]
- sharedSecret
- Byte[]
Applies to
Encapsulate(Span<Byte>, Span<Byte>)
- Source:
- MLKem.cs
public:
void Encapsulate(Span<System::Byte> ciphertext, Span<System::Byte> sharedSecret);
public void Encapsulate(Span<byte> ciphertext, Span<byte> sharedSecret);
member this.Encapsulate : Span<byte> * Span<byte> -> unit
Public Sub Encapsulate (ciphertext As Span(Of Byte), sharedSecret As Span(Of Byte))