//
pkg.gl
Category
github.com/sylabs/golang-x-crypto
nacl
auth
package
0.0.0-20210902152239-d07836ab426a
Repository:
https://github.com/sylabs/golang-x-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.