Added cypto to support the crypto.js hash function