Browse Source

密码加密

dengsixing 1 year ago
parent
commit
cb9db5e77d
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/main/resources/bootstrap.yml

+ 7 - 1
src/main/resources/bootstrap.yml

@@ -1,3 +1,9 @@
 spring:
   profiles:
-    active: test
+    active: test
+
+jasypt:
+  encryptor:
+    password: xxx #盐
+    algorithm: PBEWithMD5AndDES
+    iv-generator-classname: org.jasypt.iv.NoIvGenerator