diff options
author | EuAndreh <eu@euandre.org> | 2024-09-28 06:35:25 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-09-28 06:35:25 -0300 |
commit | 64beccc9b279a87dc6c4688a6e3e51489d909e3a (patch) | |
tree | 0829a413cac37a8002066d3045b133b92f07654b /tests/scrypt.go | |
parent | Makefile: "var version" -> "const Version" (diff) | |
download | scrypt-64beccc9b279a87dc6c4688a6e3e51489d909e3a.tar.gz scrypt-64beccc9b279a87dc6c4688a6e3e51489d909e3a.tar.xz |
src/scrypt.go: Remove "scrypt" prefix from consts
Diffstat (limited to 'tests/scrypt.go')
-rw-r--r-- | tests/scrypt.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scrypt.go b/tests/scrypt.go index d6d59c3..b7d87f1 100644 --- a/tests/scrypt.go +++ b/tests/scrypt.go @@ -431,9 +431,9 @@ func test_Salt() { testing("we generate a random salt of a fixed size", func() { salt := Salt() - assertEq(len(salt), scryptSaltMinLength) + assertEq(len(salt), saltMinLength) - var buffer [scryptSaltMinLength * 2]byte + var buffer [saltMinLength * 2]byte hex.Encode(buffer[:], salt) fmt.Fprintf(os.Stderr, "%s ", string(buffer[:])) }) |