From f36821f2611e7bac0692572c02e474aec6d258fb Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期五, 28 一月 2022 16:41:13 +0800 Subject: [PATCH] Mysql数据库AES加密工具 --- src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java b/src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java index d64a839..2cdc32d 100644 --- a/src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java +++ b/src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java @@ -11,11 +11,14 @@ public class ConstantBean { /**鑾峰彇AES绉橀挜鐨勯厤缃紙浠庝粈涔堝寘鑾峰彇鍒帮級*/ - @Value("${mysql.hxe.aes.find.packs:null}") + @Value("${mysql.hxe.aes.find.packs:}") private String packPath; /**鍥哄畾AES鐨勭閽�*/ - @Value("${mysql.hxe.aes.fixd.key:null}") + @Value("${mysql.hxe.aes.fixd.key:}") private String fixedAesKey; + /**鏁版嵁搴撳垵濮嬪寲鍔犲瘑瀛楁鐗堟湰鍙�*/ + @Value("${mysql.hxe.aes.init.version:}") + private String initVersion; public String getPackPath() { return packPath; @@ -32,4 +35,12 @@ public void setFixedAesKey(String fixedAesKey) { this.fixedAesKey = fixedAesKey; } + + public String getInitVersion() { + return initVersion; + } + + public void setInitVersion(String initVersion) { + this.initVersion = initVersion; + } } -- Gitblit v1.8.0