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

相关推荐
廋到被风吹走3 分钟前
【Spring】AOP深度解析:代理机制、拦截器链与事务失效全解
java·spring·缓存
superman超哥3 分钟前
自定义迭代器的实现方法:深入Rust迭代器机制的核心
开发语言·后端·rust·编程语言·rust迭代器机制·自定义迭代器
superman超哥7 分钟前
IntoIterator Trait的转换机制:解锁Rust迭代器生态的关键
开发语言·后端·rust·编程语言·rust trait·rust迭代器·trait转换机制
没有天赋那就反复7 分钟前
JAVA length
java·开发语言·算法
qq_2562470511 分钟前
拒绝封号风险:用 Docker 混合架构实现 Gemini CLI 安全多开
后端
步步为营DotNet16 分钟前
深度探索.NET 中ValueTask:优化异步性能的轻量级利器
java·spring·.net
栈与堆19 分钟前
LeetCode-88-合并两个有序数组
java·开发语言·数据结构·python·算法·leetcode·rust
董世昌4122 分钟前
添加、删除、替换、插入元素的全方法指南
java·开发语言·前端
ZePingPingZe23 分钟前
SpringMVC与Servlet容器[Tomcat]
spring boot·servlet·tomcat
源代码•宸27 分钟前
Leetcode—712. 两个字符串的最小ASCII删除和【中等】
开发语言·后端·算法·leetcode·职场和发展·golang·dp