sha1 -> sha512, utils.js -> lib/crypt.js