生成我们的exp @param path @param key @return @throws Exception
(String path,String key)
| 86 | * @throws Exception |
| 87 | */ |
| 88 | public static String EXP(String path,String key) throws Exception{ |
| 89 | AesCipherService aes = new AesCipherService(); |
| 90 | ByteSource ciphertext = aes.encrypt(getBytes(path), (byte[])Base64.decode(key)); |
| 91 | return ciphertext.toString(); |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * 发送http请求 |