go/doc/next/6-stdlib
Daniel McCarney 6a7733af45 crypto/pbkdf2: init package
This commit imports the x/crypto/pbkdf2 package as described in the
linked proposal. The code is unchanged with the exception of a few
small updates to reflect feedback from the proposal comment period:

* the Key function is made generic over a hash.Hash
* the h function is moved to be the first argument
* keyLen is renamed to keyLength
* an error return is added
* the unit tests were moved to the pbkdf2_test package

Updates #69488

Change-Id: If72f854daeb65a5c7fbe45ebd341e63a33340624
Reviewed-on: https://go-review.googlesource.com/c/go/+/628135
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Russ Cox <rsc@golang.org>
2024-11-21 20:38:05 +00:00
..
99-minor crypto/pbkdf2: init package 2024-11-21 20:38:05 +00:00
0-heading.md doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00
1-os-root.md os: add Root 2024-11-20 23:20:45 +00:00
1-weak.md weak: move internal/weak to weak, and update according to proposal 2024-11-18 22:29:23 +00:00
2-pbkdf2.md crypto/pbkdf2: init package 2024-11-21 20:38:05 +00:00