md5.js (1.3.5)
Published 2026-02-24 14:01:12 +00:00 by atheaadmin
Installation
registry=npm install md5.js@1.3.5"md5.js": "1.3.5"About this package
md5.js
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
Dependencies
Dependencies
| ID | Version |
|---|---|
| hash-base | ^3.0.0 |
| inherits | ^2.0.1 |
| safe-buffer | ^5.1.2 |
Development Dependencies
| ID | Version |
|---|---|
| hash-test-vectors | ^1.3.2 |
| standard | ^7.0.0 |
| tape | ^4.2.0 |
Keywords
crypto
md5