admin_vue/11-前端模块化开发Webpack(Node.js基础)/04-webpack_Loader使用/node_modules/md5.js
3056762376@qq.com 3aeda6d214 changes 2022-11-20 18:09:32 +08:00
..
LICENSE changes 2022-11-20 18:09:32 +08:00
README.md changes 2022-11-20 18:09:32 +08:00
index.js changes 2022-11-20 18:09:32 +08:00
package.json changes 2022-11-20 18:09:32 +08:00

README.md

md5.js

NPM Package Build Status Dependency status

js-standard-style

Node style md5 on pure JavaScript.

From NIST SP 800-131A: md5 is no longer acceptable where collision resistance is required such as digital signatures.

Example

var MD5 = require('md5.js')

console.log(new MD5().update('42').digest('hex'))
// => a1d0c6e83f027327d8461063f4ac58a6

var md5stream = new MD5()
md5stream.end('42')
console.log(md5stream.read().toString('hex'))
// => a1d0c6e83f027327d8461063f4ac58a6

LICENSE MIT