This commit is contained in:
Him188moe 2019-08-18 18:57:45 +08:00
parent 2483dcc49d
commit ceef31610b
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class ClientServerRedirectionPacket(private val serverIP: String, private val qq
this.writeHex(Protocol.fixVer)
this.writeHex(Protocol.redirectionKey)
//TEA 加密
this.write(TEACryptor.encrypt(object : ClientPacket() {
@Throws(IOException::class)
override fun encode() {

View File

@ -35,7 +35,7 @@ class ClientTouchPacket : ClientPacket() {
this.writeHex(Protocol._0825key)
//TEA 加密
this.write(TEACryptor.CRYPTOR_0825KEY.encrypt(object : ByteArrayDataOutputStream() {
@Throws(IOException::class)
override fun toByteArray(): ByteArray {