mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-12-01 09:27:14 +00:00
修改123网盘解析规则
This commit is contained in:
1 parent
ff2b7608d2
commit
18dc30c03d
5 files changed
+108
-18
No files matched your search
@@ -62,4 +62,19 @@ public class TestAESUtil {
|
||||
System.out.println(AESUtils.getRandomString());
|
||||
System.out.println(AESUtils.getRandomString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testKeyAuth(){
|
||||
System.out.println(AESUtils.getAuthKey());
|
||||
System.out.println(AESUtils.getAuthKey());
|
||||
System.out.println(AESUtils.getAuthKey());
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testAES2() throws NoSuchPaddingException, IllegalBlockSizeException, NoSuchAlgorithmException,
|
||||
BadPaddingException, InvalidKeyException {
|
||||
System.out.println(AESUtils.encryptBase64ByAES("AAAAA", "123123"));
|
||||
System.out.println(AESUtils.encryptBase64ByAES("AAAAA", AESUtils.generateKey("123123")));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user