springboot 配置加密,jasypt加解密命令

位置: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

相关推荐
云姜.4 分钟前
java多态
java·开发语言·c++
李堇7 分钟前
android滚动列表VerticalRollingTextView
android·java
泉-java27 分钟前
第56条:为所有导出的API元素编写文档注释 《Effective Java》
java·开发语言
Charlie_lll36 分钟前
力扣解题-移动零
后端·算法·leetcode
zfoo-framework1 小时前
帧同步和状态同步
java
charlotte102410241 小时前
高并发:关于在等待学校教务系统选课时的碎碎念
java·运维·网络
亓才孓1 小时前
[JDBC]PreparedStatement替代Statement
java·数据库
_F_y1 小时前
C++重点知识总结
java·jvm·c++
打工的小王1 小时前
Spring Boot(三)Spring Boot整合SpringMVC
java·spring boot·后端
毕设源码-赖学姐1 小时前
【开题答辩全过程】以 高校体育场馆管理系统为例,包含答辩的问题和答案
java·spring boot