Removed the commented out variables used in early testing.

This commit is contained in:
Ze'ev Schurmann 2024-01-05 02:08:27 +02:00
parent e3020ea497
commit b449167cee
1 changed files with 1 additions and 6 deletions

View File

@ -78,11 +78,6 @@ else
fi fi
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())") 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=$? errorcode=$?
if [[ $errorcode -gt 0 ]]; then if [[ $errorcode -gt 0 ]]; then
@ -103,4 +98,4 @@ fi
exit 0 exit 0
#1.03 #1.04