//
pkg.gl
Category
github.com/kevinburke/nacl
onetimeauth
package
0.0.0-20210405173606-cd9060f5f776
Repository:
https://github.com/kevinburke/nacl.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
2
Dependents
1
Files
13 SLOC
#
Functions
Sum
Sum generates an authenticator for m using a one-time key and puts the result (of length Size) into out.
Verify
Verify returns true if mac is a valid authenticator for m with the given key, without leaking timing information.
#
Constants
Size
Size is the size, in bytes, of the result of a call to Sum.