# Functions
No description provided by the author
No description provided by the author
DeriveArgonKey generates a 32-bit cryptographic key using the Argon2id algorithm.
DeriveLoginKey derives a login key from the given key encryption key.
EncryptChaCha20poly1305 encrypts the given data using the ChaCha20-Poly1305 algorithm.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
32 for the ephemeral public key + 16 for the MAC.
public constants.
public constants.
TagFinal indicates that the message marks the end of the stream, and erases the secret key used to encrypt the previous sequence.
TagMessage the most common tag, that doesn't add any information about the nature of the message.
TagPush indicates that the message marks the end of a set of messages, but not the end of the stream.
TagRekey "forget" the key used to encrypt this message and the previous ones, and derive a new secret key.
XChaCha20Poly1305IetfABYTES links to crypto_secretstream_xchacha20poly1305_ABYTES.
# Variables
No description provided by the author
No description provided by the author