Hashing updated to asmcrypto.js