添加属性加密样例

This commit is contained in:
2026-08-05 15:13:35 +08:00
parent c17913cc20
commit 1cd8c81f28
3 changed files with 25 additions and 2 deletions
@@ -0,0 +1,15 @@
# jasypt
jasypt:
encryptor:
# 密码
password: xtools
# 算法
algorithm: PBEWithMD5AndDES
# iv
iv-generator-classname: org.jasypt.iv.NoIvGenerator
# 属性
property:
# 前缀
prefix: "ENC("
# 后缀
suffix: ")"
@@ -8,16 +8,17 @@ spring:
profiles:
active:
# Boot
- boot-jasypt
- boot-base
- boot-db
# - boot-druid
# - boot-druid
- boot-hikari
- boot-elasticsearch
- boot-knife4j
- boot-log
- boot-mybatis-plus
- boot-rabbitmq
# - boot-kafka
# - boot-kafka
- boot-redis
- boot-xxl-job
- boot-storage