node style md5 on pure JavaScript
Clone or download
Latest commit 48df1d6 Oct 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test Initial commit Apr 4, 2016
.gitignore Bump hash-base (^2.0.0) Apr 7, 2016
.travis.yml Bump hash-base May 4, 2016
LICENSE Add LICENSE file Aug 28, 2016
README.md Update README.md May 24, 2017
index.js switch to safe buffer Oct 1, 2018
package.json 1.3.5 Oct 2, 2018

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