Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckKey ¶
CheckKey checks whether the given key is a valid ChaCha20/Poly1305 key.
Reference https://datatracker.ietf.org/doc/html/rfc9053#name-chacha20-and-poly1305
func GenerateKey ¶
GenerateKey generates a new Key with given algorithm for ChaCha20/Poly1305.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.