# Packages
Package chacha implements some low-level functions of the ChaCha cipher family.
No description provided by the author
Package poly1305 implements Poly1305 one-time message authentication code defined in RFC 7539.
# Functions
NewChaCha12 returns a cipher.Stream implementing the ChaCha12 or XChaCha12 stream cipher.
NewChaCha12IETFPoly1305 returns a cipher.AEAD implementing the ChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
NewChaCha12Poly1305 returns a cipher.AEAD implementing the ChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
NewChaCha20 returns a cipher.Stream implementing the ChaCha20 or XChaCha20 stream cipher.
NewChaCha20IETFPoly1305 returns a cipher.AEAD implementing the ChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
NewChaCha20Poly1305 returns a cipher.AEAD implementing the ChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
NewChaCha8 returns a cipher.Stream implementing the ChaCha8 or XChaCha8 stream cipher.
NewChaCha8IETFPoly1305 returns a cipher.AEAD implementing the ChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
NewChaCha8Poly1305 returns a cipher.AEAD implementing the ChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
NewXChaCha12IETFPoly1305 returns a cipher.AEAD implementing the XChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
NewXChaCha20IETFPoly1305 returns a cipher.AEAD implementing the XChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
NewXChaCha8IETFPoly1305 returns a cipher.AEAD implementing the XChaCha20Poly1305 construction specified in RFC 7539 with a 128 bit auth.
# Constants
INonceSize is the size of the IETF-ChaCha20 nonce in bytes.
KeySize is the size of the key in bytes.
NonceSize is the size of the ChaCha20 nonce in bytes.
Overhead is the size of the Poly1305 authentication tag, and the difference between a ciphertext length and its plaintext.
XNonceSize is the size of the XChaCha20 nonce in bytes.