HpkeSender.Seal Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| Seal(Byte[], Byte[]) | |
| Seal(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) | |
| Seal(ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
Seal(Byte[], Byte[])
public byte[] Seal(byte[] plaintext, byte[]? associatedData = default);
member this.Seal : byte[] * byte[] -> byte[]
Public Function Seal (plaintext As Byte(), Optional associatedData As Byte() = Nothing) As Byte()
Parametri
- plaintext
- Byte[]
- associatedData
- Byte[]
Valori restituiti
Si applica a
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()
Parametri
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
Valori restituiti
Si applica a
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)
Parametri
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>