Documentation
¶
Index ¶
Constants ¶
View Source
const ( BlockSize = 64 Rounds = 20 KeySize = 32 NonceSize = 12 )
Variables ¶
This section is empty.
Functions ¶
func DerivePoly1305Key ¶
DerivePoly1305Key derives the Poly1305 key for ChaCha20-Poly1305.
func XORKeyStream ¶
XORKeyStream XORs src with the ChaCha20 keystream and writes the result to dst.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.