|
@@ -34,10 +34,10 @@ public class DomainTest {
|
|
|
@Test
|
|
|
public void testRun() throws Throwable {
|
|
|
HproseHttpClient client = new HproseHttpClient();
|
|
|
-// client.useService("http://hprose.360lj.com/EncryptionAlgorithm/");// 正式
|
|
|
- client.useService("http://t-hprose.360lj.com/EncryptionAlgorithm/");// 测试
|
|
|
+ client.useService("http://hprose.360lj.com/EncryptionAlgorithm/");// 正式
|
|
|
+ //client.useService("http://t-hprose.360lj.com/EncryptionAlgorithm/");// 测试
|
|
|
String result = (String) client.invoke("EncryptionAlgorithmService_AEncrypt",
|
|
|
- new Object[]{"123456", "123456e10adc3949ba59abbe56e057f20f883e", "15347409413"});
|
|
|
+ new Object[]{"123456", "123456e10adc3949ba59abbe56e057f20f883e", "18507323703"});
|
|
|
System.out.println(result);
|
|
|
result = (String) client.invoke("EncryptionAlgorithmService_ADecrypt", new Object[]{"123456", "123456e10adc3949ba59abbe56e057f20f883e", "BBE02AB90D400FE6C7E92DD7C0EA72DE"});
|
|
|
System.out.println(result);
|