HpkeSender.Seal Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Seal(Byte[], Byte[]) | |
| Seal(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) | |
| Seal(ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
Seal(Byte[], Byte[])
- Source:
- HpkeSender.cs
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()
Paramètres
- plaintext
- Byte[]
- associatedData
- Byte[]
Retours
S’applique à
Seal(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
- Source:
- HpkeSender.cs
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()
Paramètres
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
Retours
S’applique à
Seal(ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
- Source:
- HpkeSender.cs
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)
Paramètres
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>