MLKem.DecapsulateCore(ReadOnlySpan<Byte>, Span<Byte>) 方法

定义

在派生类中重写时,从提供的密码文本中解封共享机密。

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))

参数

ciphertext
ReadOnlySpan<Byte>

密码文本。

sharedSecret
Span<Byte>

用于接收共享机密的缓冲区。

例外

在解封期间出错。

适用于