crypto-hash
crypto-hash 介绍
在所有环境中需要相同的散列API时很有用。在Node.js中它使用require('crypto'),而在它使用的浏览器中window.crypto。
浏览器版本只有约300字节缩小和压缩。
安装
npm install crypto-hash
GitHub:https://github.com/sindresorhus/crypto-hash
网站描述:微小的hashing模块,它在Node.js和浏览器中使用原生crypto API