Java client

This commit is contained in:
heavyrain lee
2019-04-29 23:06:46 +08:00
parent 928555b36e
commit c1bb45fe14
4 changed files with 81 additions and 17 deletions
@@ -51,7 +51,7 @@ public class IMAction extends Action {
String cid = fullHttpRequest.headers().get("cid");
byte[] cbytes = Base64.getDecoder().decode(cid);
cbytes = AES.AESDecrypt(cbytes, null, true);
cbytes = AES.AESDecrypt(cbytes, "", true);
if (cbytes == null) {
sendResponse(response, ErrorCode.ERROR_CODE_SECRECT_KEY_MISMATCH, null);
return;