post the class
edit:
literally reverse nikki's tutorial lol
delete this
then rename the rsaBuffer variablesbyte[] encryptionBytes = new byte[loginEncryptPacketSize];
in.get(encryptionBytes);
ByteBuffer rsaBuffer = ByteBuffer.wrap(new BigInteger(encryptionBytes)
.modPow(RSA_EXPONENT, RSA_MODULUS).toByteArray());