位置:Maven仓库中\org\jasypt\jasypt\1.9.3
java -cp jasypt-1.9.3.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input=123456 password=mysalt algorithm=PBEWithMD5andDES
----ENVIRONMENT-----------------
Runtime: Oracle Corporation Java HotSpot™ 64-Bit Server VM 25.341-b10
----ARGUMENTS-------------------
algorithm: PBEWithMD5andDES
input: 123456
password: mysalt
----OUTPUT----------------------
mCmYjdXpYwSVt4Vp6zq6Yw==
java -cp jasypt-1.9.3.jar org.jasypt.intf.cli.JasyptPBEStringDecryptionCLI input=mCmYjdXpYwSVt4Vp6zq6Yw== password=mysalt algorithm=PBEWithMD5andDES
----ENVIRONMENT-----------------
Runtime: Oracle Corporation Java HotSpot™ 64-Bit Server VM 25.341-b10
----ARGUMENTS-------------------
algorithm: PBEWithMD5andDES
input: mCmYjdXpYwSVt4Vp6zq6Yw==
password: mysalt
----OUTPUT----------------------
123456