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

相关推荐
季鸢31 分钟前
Java设计模式之状态模式详解
java·设计模式·状态模式
@yanyu6661 小时前
springboot实现查询学生
java·spring boot·后端
ascarl20101 小时前
准确--k8s cgroup问题排查
java·开发语言
magic 2451 小时前
Lombok 的 @Data 注解失效,未生成 getter/setter 方法引发的HTTP 406 错误
java
爱敲代码的憨仔1 小时前
分布式协同自动化办公系统-工作流引擎-流程设计
java·flowable·oa
酷爱码2 小时前
Spring Boot项目中JSON解析库的深度解析与应用实践
spring boot·后端·json
纪元A梦2 小时前
分布式拜占庭容错算法——PBFT算法深度解析
java·分布式·算法
卿着飞翔2 小时前
RabbitMQ入门4.1.0版本(基于java、SpringBoot操作)
java·rabbitmq·java-rabbitmq
陈阿土i2 小时前
SpringAI 1.0.0 正式版——利用Redis存储会话(ChatMemory)
java·redis·ai·springai
AI小智2 小时前
Google刀刃向内,开源“深度研究Agent”:Gemini 2.5 + LangGraph 打造搜索终结者!
后端