CompositeMLKem.Encapsulate Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| Encapsulate(Byte[], Byte[]) | |
| Encapsulate(Span<Byte>, Span<Byte>) |
Encapsulate(Byte[], Byte[])
public:
void Encapsulate([Runtime::InteropServices::Out] cli::array <System::Byte> ^ % ciphertext, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % sharedSecret);
public void Encapsulate(out byte[] ciphertext, out byte[] sharedSecret);
member this.Encapsulate : Byte[] * Byte[] -> unit
Public Sub Encapsulate (ByRef ciphertext As Byte(), ByRef sharedSecret As Byte())
Parametrar
- ciphertext
- Byte[]
- sharedSecret
- Byte[]
Gäller för
Encapsulate(Span<Byte>, Span<Byte>)
public:
void Encapsulate(Span<System::Byte> ciphertext, Span<System::Byte> sharedSecret);
public void Encapsulate(Span<byte> ciphertext, Span<byte> sharedSecret);
member this.Encapsulate : Span<byte> * Span<byte> -> unit
Public Sub Encapsulate (ciphertext As Span(Of Byte), sharedSecret As Span(Of Byte))