Fixed a small bug for full and rawfull output

This commit is contained in:
Ze'ev Schurmann 2024-01-05 01:46:06 +02:00
parent e13688e4c0
commit 7def042411
1 changed files with 3 additions and 3 deletions

View File

@ -94,13 +94,13 @@ if [[ $mode == "echo" ]]; then
elif [[ $mode == "raw" ]]; then elif [[ $mode == "raw" ]]; then
echo -n $hashstring echo -n $hashstring
elif [[ $mode == "full" ]]; then elif [[ $mode == "full" ]]; then
echo "pbkdf2:$thehashtype:$theiterations\$$thesale\$$hashstring" echo "pbkdf2:$thehashtype:$theiterations\$$thesalt\$$hashstring"
elif [[ $mode == "rawfull" ]]; then elif [[ $mode == "rawfull" ]]; then
echo -n "pbkdf2:$thehashtype:$theiterations\$$thesale\$$hashstring" echo -n "pbkdf2:$thehashtype:$theiterations\$$thesalt\$$hashstring"
else else
printhelp printhelp
fi fi
exit 0 exit 0
#1.00 #1.01