Redmine

How is pass hashed?

Hi, I am working on project and need to know how is redmine hashing the user pass. I want to create new user for redmine everytime when user is registered in my site with same registration info. How can I do that?