public static String Encrypt(String strEncrypt) { 
        String strResult = "";
        log.debug(String.format("method start String[strEncrypt:%s]", strEncrypt));
        if (strEncrypt != null) {
            try {
                SecretKeySpec secretKeySpec = new SecretKeySpec(KEY.getBytes("utf-8"), "AES");
                Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding");//"算法/模式/补码方式"
                cipher.init(Cipher.ENCRYPT_MODE, secretKeySpec);
                byte[] encrypted = cipher.doFinal(strEncrypt.getBytes("utf-8"));
                strResult = new Base64().encodeToString(encrypted);//此处使用BASE64做转码功能，同时能起到2次加密的作用。
            } catch(Exception e) {
                log.debug(e.getMessage(), e);
                strResult = "";
            }
        }
        log.debug(String.format("method stop return:String[%s]", strResult));
        return strResult;
    }