package hmac
Import Path
crypto/hmac (on golang.org and go.dev)
Dependency Relation
imports 2 packages, and imported by 2 packages
Involved Source Files
d-> hmac.go
Exported Type Names
(none)
Exported Values
func
Equal(mac1, mac2 []
byte)
bool
Equal compares two MACs for equality without leaking timing information.
func
New(h func()
hash.
Hash, key []
byte)
hash.
Hash
New returns a new HMAC hash using the given hash.Hash type and key.
Note that unlike other hash implementations in the standard library,
the returned Hash does not implement encoding.BinaryMarshaler
or encoding.BinaryUnmarshaler.
 |
The pages are generated with Golds v0.1.6. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project and developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |