package pbkdf2
Import Path
golang.org/x/crypto/pbkdf2 (on go.dev)
Dependency Relation
imports 2 packages, and imported by 2 packages
Involved Source Files
Package pbkdf2 implements the key derivation function PBKDF2 as defined in
RFC 8018 (PKCS #5 v2.1).
This package is a wrapper for the PBKDF2 implementation in the
[crypto/pbkdf2] package. It is [frozen] and is not accepting new features.
[frozen]: https://go.dev/wiki/Frozen
Package-Level Functions (only one, which is exported)
Key derives a key from the password, salt and iteration count, returning a
[]byte of length keylen that can be used as cryptographic key. The key is
derived based on the method described as PBKDF2 with the HMAC variant using
the supplied hash function.
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |