问题
Trying to use the encrypt.sh utility and my password has special characters:
./encrypt.sh input="$%#!" password="your_jasypt_password" algorithm="PBEWITHSHA256AND128BITAES-CBC-BC" keyObtentionIterations=1000 providerName="BC"
-bash: !": event not found
回答1:
Ok easy-- need to use single quotes instead of double quotes.
来源:https://stackoverflow.com/questions/26388928/how-can-my-password-contain-special-characters-using-jasypt-and-encrypt-sh