From 7def042411fb56c9d42a7d2298161205fb580f3d Mon Sep 17 00:00:00 2001 From: Ze'ev Schurmann Date: Fri, 5 Jan 2024 01:46:06 +0200 Subject: [PATCH] Fixed a small bug for full and rawfull output --- pbkdf2.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pbkdf2.sh b/pbkdf2.sh index 4531e59..075ff27 100755 --- a/pbkdf2.sh +++ b/pbkdf2.sh @@ -94,13 +94,13 @@ if [[ $mode == "echo" ]]; then elif [[ $mode == "raw" ]]; then echo -n $hashstring elif [[ $mode == "full" ]]; then - echo "pbkdf2:$thehashtype:$theiterations\$$thesale\$$hashstring" + echo "pbkdf2:$thehashtype:$theiterations\$$thesalt\$$hashstring" elif [[ $mode == "rawfull" ]]; then - echo -n "pbkdf2:$thehashtype:$theiterations\$$thesale\$$hashstring" + echo -n "pbkdf2:$thehashtype:$theiterations\$$thesalt\$$hashstring" else printhelp fi exit 0 -#1.00 +#1.01