Hpke.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
Seal(Byte[], Byte[], Byte[], Byte[], Byte[])
public void Seal(byte[] plaintext, out byte[] encapsulatedSecret, out byte[] ciphertext, byte[]? associatedData = default, byte[]? info = default);
member this.Seal : byte[] * Byte[] * Byte[] * byte[] * byte[] -> unit
Public Sub Seal (plaintext As Byte(), ByRef encapsulatedSecret As Byte(), ByRef ciphertext As Byte(), Optional associatedData As Byte() = Nothing, Optional info As Byte() = Nothing)
Parametry
- plaintext
- Byte[]
- encapsulatedSecret
- Byte[]
- ciphertext
- Byte[]
- associatedData
- Byte[]
- info
- Byte[]
Dotyczy
Seal(ReadOnlySpan<Byte>, Byte[], Byte[], ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
public void Seal(ReadOnlySpan<byte> plaintext, out byte[] encapsulatedSecret, out byte[] ciphertext, ReadOnlySpan<byte> associatedData = default, ReadOnlySpan<byte> info = default);
member this.Seal : ReadOnlySpan<byte> * Byte[] * Byte[] * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> unit
Public Sub Seal (plaintext As ReadOnlySpan(Of Byte), ByRef encapsulatedSecret As Byte(), ByRef ciphertext As Byte(), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing, Optional info As ReadOnlySpan(Of Byte) = Nothing)
Parametry
- plaintext
- ReadOnlySpan<Byte>
- encapsulatedSecret
- Byte[]
- ciphertext
- Byte[]
- associatedData
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>
Dotyczy
Seal(ReadOnlySpan<Byte>, Span<Byte>, Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
public void Seal(ReadOnlySpan<byte> plaintext, Span<byte> encapsulatedSecret, Span<byte> ciphertext, ReadOnlySpan<byte> associatedData = default, ReadOnlySpan<byte> info = default);
member this.Seal : ReadOnlySpan<byte> * Span<byte> * Span<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> unit
Public Sub Seal (plaintext As ReadOnlySpan(Of Byte), encapsulatedSecret As Span(Of Byte), ciphertext As Span(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing, Optional info As ReadOnlySpan(Of Byte) = Nothing)
Parametry
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>