public PacketIn Decrypt(CryptKey Key, byte[] packet) { PacketIn Packet = new PacketIn(packet, 0, packet.Length); Packet = Packet.DecryptMythicRC4(Key.GetbKey()); return Packet; }
public byte[] Crypt(CryptKey Key, byte[] packet) { packet = PacketOut.EncryptMythicRC4(Key.GetbKey(), packet); return packet; }