creating email account realtime via JAVA


I want to create email accounts in runtime by JAVA. I have discovered Rainloop uses e_users table for the email accounts. But the problem is password is stored as CRYPT hash and it seems that this hash is not only the password itself, some kind of “SALT” added.

Does anybody have idea how this password hash is created? And do I need to know more to create email accounts from JAVA on Rainloop?

Thanks in advance,