MLKem.DecapsulateCore(ReadOnlySpan<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, decapsulates a shared secret from a provided ciphertext.
protected:
abstract void DecapsulateCore(ReadOnlySpan<System::Byte> ciphertext, Span<System::Byte> sharedSecret);
protected abstract void DecapsulateCore(ReadOnlySpan<byte> ciphertext, Span<byte> sharedSecret);
abstract member DecapsulateCore : ReadOnlySpan<byte> * Span<byte> -> unit
Protected MustOverride Sub DecapsulateCore (ciphertext As ReadOnlySpan(Of Byte), sharedSecret As Span(Of Byte))
Parameters
- ciphertext
- ReadOnlySpan<Byte>
The ciphertext.
Exceptions
An error occurred during decapsulation.