caoge c760052ff9 机车状态修改 | преди 8 месеца | |
---|---|---|
.. | ||
LICENSE | преди 8 месеца | |
README.md | преди 8 месеца | |
index.js | преди 8 месеца | |
package.json | преди 8 месеца |
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.
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