summaryrefslogtreecommitdiff
path: root/tests/functional/hash-and-check/scrypt.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-15 13:23:59 -0300
committerEuAndreh <eu@euandre.org>2025-05-15 15:13:15 -0300
commit81f0c44d475e57fd56c6d8009e0c88f65d2fd84e (patch)
treefb2708925293b0bb7cdf3ab81d4df19c0b0d5af9 /tests/functional/hash-and-check/scrypt.go
parentrm -rf tests/functional/version/ (diff)
downloadscrypt-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.go8
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,