Hi ,
I'm trying to create an account with password. I also created the characters in characters table
I've encrypted the psw here https://md5decrypt.net/en/ but I cant log in
Account tables:
login password lastactive access_level lastServer
test (psw md5) 0 0 1
Characters tables:
account_name obj_id chart_name level
test 0 dummy 1
Any idea ?Thank
Edit:
I created another char with the same password.
I have created the char with the client (autocreate) and I discover that Md5 encrypted word is very different
I use interlude , is it MD5 ?
EDIT
ok I found it
byte[] newPassword = MessageDigest.getInstance("SHA").digest(password.getBytes("UTF-8"));
ps.setString(1, account);
ps.setString(2, Base64.getEncoder().encodeToString(newPassword));