title: Password encryption in Sonar
body: <p>I'm using Yale's CAS to integrate my sonar system and I have problems validating my login username and password, Since I have known that sonar uses crypted_password and salt to store original password, but I can't figure out how sonar generates crypted_password with original password and the random salt. What I need are the encryption algorithm and encryption srategy. </p>
  
  <p>Any of your reply will be highly appreciated.</p>