diff --git a/pbkdf2.sh b/pbkdf2.sh index 592649d..94c206b 100755 --- a/pbkdf2.sh +++ b/pbkdf2.sh @@ -4,7 +4,7 @@ function printhelp { version=$(tail -1 $0) echo "Usage: " echo - echo " $0 hashtype salt password iterations {raw/full}" + echo " $0 hashtype salt password iterations {raw/full/rawrull}" echo echo "Hashtypes: md5, sha1, sha224, sha256, sha384, sha512, blake2b" echo " blake2s, sha3_224, sha3_256, sha3_384, sha3_512" @@ -18,14 +18,14 @@ function printhelp { echo " The higher the integer the more secure but at the" echo " cost of time." echo - echo "{raw/full}: This is optional. By default you will get a hash" - echo " string followed by a new line. If you do not want" - echo " the new line, say to use in a variable, then use" - echo " 'raw' to get just the hash in hex. However if you" - echo " use 'full', you will get a string that can be used" - echo " to input into a database with a new line at the end." - echo " Use 'rawfull' to return the string without the new" - echo " new line." + echo "{raw/full/rawfull}: This is optional. By default you will get a" + echo " hash string followed by a new line. If you do" + echo " not want the new line, say to use in a variable," + echo " then use 'raw' to get just the hash in hex." + echo " However if you use 'full', you will get a string" + echo " that can be usedto input into a database with a" + echo " new line at the end. Use 'rawfull' to return the" + echo " string without thenew line." echo echo "More about PBKDF2 hashing - https://en.wikipedia.org/wiki/PBKDF2" echo @@ -103,4 +103,4 @@ fi exit 0 -#1.02 +#1.03