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

相关推荐
呆呆洁ᵔ·͈༝·͈ᵔ25 分钟前
配置集群-日志聚集操作
java·ide·eclipse
阑梦清川32 分钟前
关于Go语言的开发环境的搭建
开发语言·后端·golang
lyrhhhhhhhh35 分钟前
Spring 模拟转账开发实战
java·后端·spring
banzhenfei38 分钟前
xp_cmdshell bcp 导出文件
java·数据库·sql
tonngw39 分钟前
【Mac 从 0 到 1 保姆级配置教程 12】- 安装配置万能的编辑器 VSCode 以及常用插件
git·vscode·后端·macos·开源·编辑器·github
带刺的坐椅40 分钟前
SpringBoot3 使用 SolonMCP 开发 MCP
java·ai·springboot·solon·mcp
胡斌附体1 小时前
微服务调试问题总结
java·微服务·架构·调试·本地·夸微服务联调
bing_1581 小时前
Spring MVC HttpMessageConverter 的作用是什么?
java·spring·mvc
笨蛋不要掉眼泪2 小时前
SpringAOP
java·数据库·spring·log4j
noravinsc2 小时前
InforSuite RDS 与django结合
后端·python·django