package hkdf
Import Path
vendor/golang.org/x/crypto/hkdf (on golang.org and go.dev)
Dependency Relation
imports 4 packages, and imported by one package
Involved Source Files
d-> hkdf.go
Exported Type Names
(none)
Exported Values
func
Expand(hash func()
hash.
Hash, pseudorandomKey, info []
byte)
io.
Reader
Expand returns a Reader, from which keys can be read, using the given
pseudorandom key and optional context info, skipping the extraction step.
The pseudorandomKey should have been generated by Extract, or be a uniformly
random or pseudorandom cryptographically strong key. See RFC 5869, Section
3.3. Most common scenarios will want to use New instead.
func
New(hash func()
hash.
Hash, secret, salt, info []
byte)
io.
Reader
New returns a Reader, from which keys can be read, using the given hash,
secret, salt and context info. Salt and info can be nil.
 |
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. |