diff options
| author | Daniel McCarney <daniel@binaryparadox.net> | 2024-11-14 13:38:14 -0500 |
|---|---|---|
| committer | Filippo Valsorda <filippo@golang.org> | 2024-11-21 20:38:05 +0000 |
| commit | 6a7733af45493ddc1ededd2d0545004102c811a2 (patch) | |
| tree | 8a8e76d41b616c8f772e2451b7fd8c2ae4b67c41 /src/encoding/binary | |
| parent | a86ea80197ed3bf0f276638a9ce079cbd2071d83 (diff) | |
| download | go-6a7733af45493ddc1ededd2d0545004102c811a2.tar.xz | |
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>
Diffstat (limited to 'src/encoding/binary')
0 files changed, 0 insertions, 0 deletions
