Hpke.Seal Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
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)
Parameter
- plaintext
- Byte[]
- encapsulatedSecret
- Byte[]
- ciphertext
- Byte[]
- associatedData
- Byte[]
- info
- Byte[]
Gilt für:
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)
Parameter
- plaintext
- ReadOnlySpan<Byte>
- encapsulatedSecret
- Byte[]
- ciphertext
- Byte[]
- associatedData
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>
Gilt für:
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)
Parameter
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>