You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im getting an java.lang.ArrayIndexOutOfBoundsException at LocalClientHandlerConnecting.java:109:
Line 108 byte[] solution = x.modPow(BigInteger.valueOf(2L).pow(serverReplyStep3.getLevel()), n).toByteArray(); //it will contain the value 0.
Line 109 System.arraycopy(
solution, Math.abs(solution.length - 64),
y, solution.length < 64 ? 64 - solution.length : 0,
solution.length < 64 ? solution.length : 64
);
Im testing against a server which is returning x = 1, n = 1, level = 1000. The solution will have only one byte, the above code is trying to copy from position 63 in a 1 byte var.
The text was updated successfully, but these errors were encountered:
Im getting an java.lang.ArrayIndexOutOfBoundsException at LocalClientHandlerConnecting.java:109:
Line 108 byte[] solution = x.modPow(BigInteger.valueOf(2L).pow(serverReplyStep3.getLevel()), n).toByteArray(); //it will contain the value 0.
Line 109 System.arraycopy(
solution, Math.abs(solution.length - 64),
y, solution.length < 64 ? 64 - solution.length : 0,
solution.length < 64 ? solution.length : 64
);
Im testing against a server which is returning x = 1, n = 1, level = 1000. The solution will have only one byte, the above code is trying to copy from position 63 in a 1 byte var.
The text was updated successfully, but these errors were encountered: