2021
07-08
07-08
Jasypt对SpringBoot配置文件加密
目录引入maven生成加密串配置properties动态salt(盐)值博客总结源码地址引入maven<dependency><groupId>com.github.ulisesbocchio</groupId><artifactId>jasypt-spring-boot-starter</artifactId><version>3.0.3</version></dependency>生成加密串将连接数据库的用户名和密码进行加密publicstaticvoidmain(String[]args){BasicTextEncryptortextEncryptor...
继续阅读 >