hash for password in 6.x. branch

in version 3 hash we can see :

select SHA1(CONCAT(UPPER(“account”), ‘:’, UPPER(“password”)));

what’s algoritm for generating hash in database 6.x?

— Canned message start —
This thread is not related to the official Trinity codebase and was moved to the Custom Code section.
Please read the stickies next time.
— Canned message end —

http://www.trinitycore.org/f/topic/10812-sql-query-for-battlenet-accounts/?p=72562