Removed the commented out variables used in early testing.
This commit is contained in:
parent
e3020ea497
commit
b449167cee
|
@ -78,11 +78,6 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
#thesalt='TdkvYjyoP2w3yIcE'
|
||||
#thepassword='HXqrYN6v2mYRYQQ!'
|
||||
#theiterations=260000
|
||||
#thehashtype='sha256'
|
||||
|
||||
hashstring=$(python3 -c "from hashlib import pbkdf2_hmac; salt = '$thesalt'; password = '$thepassword'; hashtype = '$thehashtype'; iterations = int($theiterations); print(pbkdf2_hmac(hashtype, password.encode(), salt.encode(), iterations).hex())")
|
||||
errorcode=$?
|
||||
if [[ $errorcode -gt 0 ]]; then
|
||||
|
@ -103,4 +98,4 @@ fi
|
|||
|
||||
exit 0
|
||||
|
||||
#1.03
|
||||
#1.04
|
||||
|
|
Loading…
Reference in New Issue