Password Encryption


I created a website that show a list of my top clients from my cs cart website, for this created a bridge between the tow, who work very well, what I want to do now is create a registration form that add a user for both website, when I did it, the user is created on cs cart, but the password is not hashed in the right way.

Which encryption cs cart use to hash passwords?

In my website, I tried sha1 and md5, but any of them worked, ex: "$pass = sha1($_post['pass'])"

Please check my answer here