Move hash functions into supergenpass.js.