Update messages + Fix MaxJoin/LoginPerIP

This commit is contained in:
Xephi
2014-07-23 20:20:39 +02:00
parent 964e66a370
commit a55e99a2c5
9 changed files with 214 additions and 138 deletions
@@ -7,10 +7,9 @@ public class ROYALAUTH implements EncryptionMethod {
@Override
public String getHash(String password, String salt, String name) throws NoSuchAlgorithmException {
String data = "";
for (int i = 0; i < 25; i++)
data = hash(data, salt);
return data;
password = hash(password, salt);
return password;
}
public String hash(String password, String salt) throws NoSuchAlgorithmException {