ChaCha20Poly1305 Constructor
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Security.dll (version 7.0.9083)
ChaCha20Poly1305(Byte[])
Initializes a new ChaCha20Poly1305 instance with the provided key
.
Declaration
public ChaCha20Poly1305(byte[] key)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | key | The 32-byte ChaCha20/Poly1305 key to be used by this instance.
An instance of the ChaCha20Poly1305 class makes, uses, and clears a copy of the |