package chacha20poly1305
import "internal/x/crypto/chacha20poly1305"
Package chacha20poly1305 implements the ChaCha20-Poly1305 AEAD as specified in RFC 7539.
Index ¶
Constants ¶
const ( // KeySize is the size of the key used by this AEAD, in bytes. KeySize = 32 // NonceSize is the size of the nonce used with this AEAD, in bytes. NonceSize = 12 )
Functions ¶
func New ¶
New returns a ChaCha20-Poly1305 AEAD that uses the given, 256-bit key.
Source Files ¶
chacha20poly1305.go chacha20poly1305_amd64.go chacha20poly1305_generic.go
- Version
- v1.12.4
- Published
- Apr 11, 2019
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 2 minutes ago –
Tools for package owners.