//
pkg.gl
Category
github.com/tendermint/go-crypto
xchacha20poly1305
package
0.9.0
Repository:
https://github.com/tendermint/go-crypto.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
202 SLOC
#
Functions
HChaCha20
HChaCha20 generates 32 pseudo-random bytes from a 128 bit nonce and a 256 bit secret key.
New
New xChaChapoly1305 AEAD with 24 byte nonces.
#
Constants
KeySize
KeySize is the size of the key used by this AEAD, in bytes.
NonceSize
NonceSize is the size of the nonce used with this AEAD, in bytes.