diff options
author | EuAndreh <eu@euandre.org> | 2025-05-15 13:23:59 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-15 15:13:15 -0300 |
commit | 81f0c44d475e57fd56c6d8009e0c88f65d2fd84e (patch) | |
tree | fb2708925293b0bb7cdf3ab81d4df19c0b0d5af9 /tests/functional/hash-and-check/scrypt.go | |
parent | rm -rf tests/functional/version/ (diff) | |
download | scrypt-81f0c44d475e57fd56c6d8009e0c88f65d2fd84e.tar.gz scrypt-81f0c44d475e57fd56c6d8009e0c88f65d2fd84e.tar.xz |
src/scrypt.go: Improve CLI handling, add tests alongside
Diffstat (limited to '')
-rw-r--r-- | tests/functional/hash-and-check/scrypt.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/hash-and-check/scrypt.go b/tests/functional/hash-and-check/scrypt.go index 065b9b5..9eeeb22 100644 --- a/tests/functional/hash-and-check/scrypt.go +++ b/tests/functional/hash-and-check/scrypt.go @@ -14,14 +14,14 @@ func MainTest() { salt = []byte("a fixed salt____________________") ) - hashInput := HashInput{ + hashInput := HashInputT{ Password: password, Salt: salt, } hash, err := Hash(hashInput) g.TErrorIf(err) - checkInput := CheckInput{ + checkInput := CheckInputT{ Password: password, Salt: salt, Hash: hash, @@ -38,14 +38,14 @@ func MainTest() { salt, err := Salt() g.TErrorIf(err) - hashInput := HashInput{ + hashInput := HashInputT{ Password: password, Salt: salt, } hash, err := Hash(hashInput) g.TErrorIf(err) - checkInput := CheckInput{ + checkInput := CheckInputT{ Password: password, Salt: salt, Hash: hash, |