File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,19 +75,19 @@ func Sum256(data []byte) [Size256]byte {
75
75
}
76
76
77
77
// New512 returns a new hash.Hash computing the BLAKE2b-512 checksum. A non-nil
78
- // key turns the hash into a MAC. The key must between zero and 64 bytes long.
78
+ // key turns the hash into a MAC. The key must be between zero and 64 bytes long.
79
79
func New512 (key []byte ) (hash.Hash , error ) { return newDigest (Size , key ) }
80
80
81
81
// New384 returns a new hash.Hash computing the BLAKE2b-384 checksum. A non-nil
82
- // key turns the hash into a MAC. The key must between zero and 64 bytes long.
82
+ // key turns the hash into a MAC. The key must be between zero and 64 bytes long.
83
83
func New384 (key []byte ) (hash.Hash , error ) { return newDigest (Size384 , key ) }
84
84
85
85
// New256 returns a new hash.Hash computing the BLAKE2b-256 checksum. A non-nil
86
- // key turns the hash into a MAC. The key must between zero and 64 bytes long.
86
+ // key turns the hash into a MAC. The key must be between zero and 64 bytes long.
87
87
func New256 (key []byte ) (hash.Hash , error ) { return newDigest (Size256 , key ) }
88
88
89
89
// New returns a new hash.Hash computing the BLAKE2b checksum with a custom length.
90
- // A non-nil key turns the hash into a MAC. The key must between zero and 64 bytes long.
90
+ // A non-nil key turns the hash into a MAC. The key must be between zero and 64 bytes long.
91
91
// The hash size can be a value between 1 and 64 but it is highly recommended to use
92
92
// values equal or greater than:
93
93
// - 32 if BLAKE2b is used as a hash function (The key is zero bytes long).
You can’t perform that action at this time.
0 commit comments