Sprache

HpkeRecipient.Open Methode

Definition

Überlädt

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

Parameter

ciphertext
Byte[]
associatedData
Byte[]

Gibt zurück

Byte[]

Gilt für:

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

Parameter

ciphertext
ReadOnlySpan<Byte>
associatedData
ReadOnlySpan<Byte>

Gibt zurück

Byte[]

Gilt für:

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)

Parameter

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

Gilt für: