Skip to content

Commit

Permalink
Fix p/par reference in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
magical committed Sep 25, 2024
1 parent aacb9a3 commit 01f04ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
// The salt must be at least 8 bytes long.
//
// Mem is the amount of memory to use in kibibytes.
// Mem must be at least 8*p, and will be rounded to a multiple of 4*p.
// Mem must be at least 8*par, and will be rounded to a multiple of 4*par.
func Key(password, salt []byte, n, par int, mem int64, keyLen int) ([]byte, error) {
if int64(len(password)) > maxPassword {
return nil, errors.New("argon: password too long")
Expand Down

0 comments on commit 01f04ac

Please sign in to comment.