whitch type of encryption is used in trinitycore auth->account table. i need to know cuz i want to make login form and in if(pass == sha_pass_hash) i need to convert pass to sha_hash_pass xD if some 1 know encryption type pls help

nevermind i found it after 100000000 tries xD

for 6.x battlenet_accounts:

strtoupper(bin2hex(strrev(hex2bin(strtoupper(hash(“sha256”,strtoupper(hash(“sha256”, strtoupper($email))).“:”.strtoupper($password)))))))

for 4.3.4 accounts:


my question was for 3.3.5 but any way i found it is