//
pkg.gl
Category
github.com/sour-is/crypto
nacl
auth
package
0.0.0-20201016232853-f42a24ba5a81
Repository:
https://github.com/sour-is/crypto.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
26 SLOC
#
Functions
Sum
Sum generates an authenticator for m using a secret key and returns the 32-byte digest.
Verify
Verify checks that digest is a valid authenticator of message m under the given secret key.
#
Constants
KeySize
KeySize is the size, in bytes, of an authentication key.
Size
Size is the size, in bytes, of an authenticated digest.