Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- read -s -p 'Enter your password: ' PW1
- echo
- read -s -p 'Enter your password (again): ' PW2
- echo
- if [ $PW1 != $PW2 ]; then
- echo "Passwords don't match"
- exit 1
- fi
- FV=`echo -n $PW1 $1`
- for i in $(seq 100); do
- IV=$(echo -n $FV | shasum - | cut -f 1 -d ' ')
- FV=$IV
- done
- echo $FV
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement