MLKem.EncapsulateCore(Span<Byte>, Span<Byte>) 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.
When overridden in a derived class, creates an encapsulation ciphertext and shared secret, writing them into the provided buffers.
protected:
abstract void EncapsulateCore(Span<System::Byte> ciphertext, Span<System::Byte> sharedSecret);
protected abstract void EncapsulateCore(Span<byte> ciphertext, Span<byte> sharedSecret);
abstract member EncapsulateCore : Span<byte> * Span<byte> -> unit
Protected MustOverride Sub EncapsulateCore (ciphertext As Span(Of Byte), sharedSecret As Span(Of Byte))
Parameters
Exceptions
An error occurred during encapsulation.