| | |
| | | |
| | | /**固定的aes秘钥*/ |
| | | public static String AES_KEY = null; |
| | | /**数据库加密字段初始化版本号*/ |
| | | public static String INIT_VERSION = null; |
| | | |
| | | |
| | | |
| | | /**存储AES秘钥*/ |
| | | public static void setAesKey(String aesKeyFild,String aesKey){ |
| | |
| | | //项目启动的时候填入 |
| | | logger.info("扫描获取AES的包:" + constantBean.getPackPath()); |
| | | AES_KEY = constantBean.getFixedAesKey(); |
| | | INIT_VERSION = constantBean.getInitVersion(); |
| | | if(!StringUtils.isEmpty(constantBean.getPackPath())){ |
| | | Set<Class<?>> classes = classData(constantBean.getPackPath()); |
| | | logger.info("扫描获取AES的包classes:" + classes.size()); |