Migrated to node.js internal crypto library for hashes