File tree 1 file changed +6
-14
lines changed
1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a BSD-style
3
3
// license that can be found in the LICENSE file.
4
4
5
- /*
6
- Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC
7
- 2898 / PKCS #5 v2.0.
8
-
9
- A key derivation function is useful when encrypting data based on a password
10
- or any other not-fully-random data. It uses a pseudorandom function to derive
11
- a secure encryption key based on the password.
12
-
13
- While v2.0 of the standard defines only one pseudorandom function to use,
14
- HMAC-SHA1, the drafted v2.1 specification allows use of all five FIPS Approved
15
- Hash Functions SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512 for HMAC. To
16
- choose, you can pass the `New` functions from the different SHA packages to
17
- pbkdf2.Key.
18
- */
5
+ // Package pbkdf2 implements the key derivation function PBKDF2 as defined in
6
+ // RFC 8018 (PKCS #5 v2.1).
7
+ //
8
+ // A key derivation function is useful when encrypting data based on a password
9
+ // or any other not-fully-random data. It uses a pseudorandom function to derive
10
+ // a secure encryption key based on the password.
19
11
package pbkdf2
20
12
21
13
import (
You can’t perform that action at this time.
0 commit comments