still broken nbot hashing

This commit is contained in:
Chayapak 2024-11-10 13:58:56 +07:00
parent fa7a41cecd
commit 71a28fc0b7
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA

View file

@ -171,7 +171,7 @@ public class BotValidationUtilities {
long bigInt = ByteBuffer.wrap(new byte[] {0, 0, hash[0], hash[1], hash[2], hash[3], hash[4], hash[5]}).getLong();
String stringHash = Long.toUnsignedString(bigInt, 36).substring(0, 6);
String stringHash = Long.toUnsignedString(bigInt, 36).substring(0, 7);
final String[] restArguments = Arrays.copyOfRange(arguments, 1, arguments.length);