소스 검색

nacos加解密

dengsixing 1 년 전
부모
커밋
87e2fb0149
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      src/main/resources/bootstrap.yml

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

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