From b449167cee3ecf7ebce08cd143ea637a9ae96946 Mon Sep 17 00:00:00 2001 From: Ze'ev Schurmann Date: Fri, 5 Jan 2024 02:08:27 +0200 Subject: [PATCH] Removed the commented out variables used in early testing. --- pbkdf2.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pbkdf2.sh b/pbkdf2.sh index 94c206b..1151eea 100755 --- a/pbkdf2.sh +++ b/pbkdf2.sh @@ -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