mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-24 06:10:09 +08:00
update
This commit is contained in:
parent
2483dcc49d
commit
ceef31610b
@ -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() {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user