by _urga · 15y ago · 0 comments
function(uniqueSalt128Bit, password, rounds) { var hash = SHA1(uniqueSalt128Bit + password); var length = Math.pow(2, rounds); while (length--) hash = SHA1(hash); return hash; }