//
pkg.gl
Category
github.com/brutella/hc
crypto
chacha20poly1305
package
1.2.5
Repository:
https://github.com/brutella/hc.git
Documentation:
pkg.go.dev
Versions
2
Dependencies
3
Dependents
33
Files
51 SLOC
#
Functions
DecryptAndVerify
DecryptAndVerify returns the chacha20 decrypted messages.
EncryptAndSeal
EncryptAndSeal returns the chacha20 encrypted message and poly1305 message authentictor (also referred as seals) Nonce should be 8 byte.