mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-03 01:00:18 +01:00
Finally need player lowcase crazycrypt
This commit is contained in:
parent
1c77a1d0d9
commit
630271dfe8
@ -12,7 +12,7 @@ public class CRAZYCRYPT1 implements EncryptionMethod {
|
||||
@Override
|
||||
public String getHash(String password, String salt, String name)
|
||||
throws NoSuchAlgorithmException {
|
||||
final String text = "ÜÄaeut//&/=I " + password + "7421€547" + name + "__+IÄIH§%NK " + password;
|
||||
final String text = "ÜÄaeut//&/=I " + password + "7421€547" + name.toLowerCase() + "__+IÄIH§%NK " + password;
|
||||
try {
|
||||
final MessageDigest md = MessageDigest.getInstance("SHA-512");
|
||||
md.update(text.getBytes(charset), 0, text.length());
|
||||
|
Loading…
Reference in New Issue
Block a user