AES
chenjiahe
2022-01-07 e29546af6fcc89c64b17cee6de01ce2a963b33f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.hx.springbean;
 
import com.hx.common.annotations.MysqlHexAes;
import com.hx.util.StringUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
 
import java.io.File;
import java.io.FileFilter;
import java.io.IOException;
import java.lang.reflect.Field;
import java.net.URL;
import java.net.URLDecoder;
import java.util.*;
 
/**
 * 通用常量集中营
 * @author CJH
 */
@Component
public class ConstantBean {
 
    /**获取AES秘钥的配置(从什么包获取到)*/
    @Value("${mysql.hxe.aex.find.packs:null}")
    private String packPath;
 
    public String getPackPath() {
        return packPath;
    }
 
    public void setPackPath(String packPath) {
        this.packPath = packPath;
    }
}