Język

HpkeRecipient.Open Method

Definition

Overloads

Open(Byte[], Byte[])

public byte[] Open(byte[] ciphertext, byte[]? associatedData = default);
member this.Open : byte[] * byte[] -> byte[]
Public Function Open (ciphertext As Byte(), Optional associatedData As Byte() = Nothing) As Byte()

Parameters

ciphertext
Byte[]
associatedData
Byte[]

Returns

Byte[]

Applies to

Open(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

public byte[] Open(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> associatedData = default);
member this.Open : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> byte[]
Public Function Open (ciphertext As ReadOnlySpan(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing) As Byte()

Parameters

ciphertext
ReadOnlySpan<Byte>
associatedData
ReadOnlySpan<Byte>

Returns

Byte[]

Applies to

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

public void Open(ReadOnlySpan<byte> ciphertext, Span<byte> plaintext, ReadOnlySpan<byte> associatedData = default);
member this.Open : ReadOnlySpan<byte> * Span<byte> * ReadOnlySpan<byte> -> unit
Public Sub Open (ciphertext As ReadOnlySpan(Of Byte), plaintext As Span(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing)

Parameters

ciphertext
ReadOnlySpan<Byte>
plaintext
Span<Byte>
associatedData
ReadOnlySpan<Byte>

Applies to