| 程序包 | 说明 |
|---|---|
| com.sinosoftgz.starter.encrypt.config |
| 类和说明 |
|---|
| EncryptProperties
加密数据配置读取类
在SpringBoot项目中的application.yml中添加配置信息即可
encrypt:
body:
aes-key: 12345678 # AES加密秘钥
des-key: 12345678 # DES加密秘钥
rsa-private-key: rsa的私钥
rsa-publicKey: rsa的公钥
rsa-open: 是否打开
rsa-showLog: 是否打印日志
Created by Roney on 2020/12/25
|
Copyright © 2024. All rights reserved.