Fixed a small bug for full and rawfull output
This commit is contained in:
parent
e13688e4c0
commit
7def042411
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue