HpkeSender.Seal Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwisko | Opis |
|---|---|
| Seal(Byte[], Byte[]) | |
| Seal(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) | |
| Seal(ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
Seal(Byte[], Byte[])
Seal(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
public byte[] Seal(ReadOnlySpan<byte> plaintext, ReadOnlySpan<byte> associatedData = default);
member this.Seal : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> byte[]
Public Function Seal (plaintext As ReadOnlySpan(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing) As Byte()
Parametry
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
Zwraca
Dotyczy
Seal(ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
public void Seal(ReadOnlySpan<byte> plaintext, Span<byte> ciphertext, ReadOnlySpan<byte> associatedData = default);
member this.Seal : ReadOnlySpan<byte> * Span<byte> * ReadOnlySpan<byte> -> unit
Public Sub Seal (plaintext As ReadOnlySpan(Of Byte), ciphertext As Span(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing)
Parametry
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>