//
pkg.gl
Category
golang.org/x/crypto
nacl
auth
package
0.36.0
Repository:
https://go.googlesource.com/crypto
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
12
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.