Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 7, 2024 via pnpm

md5 2.3.0

js function for hashing messages with MD5
Package summary
Share
0
issues
2
licenses
3
BSD-3-Clause
1
MIT
Package created
27 Aug 2011
Version published
2 Aug 2020
Maintainers
2
Total deps
4
Direct deps
3
License
BSD-3-Clause

Issues

0
This package has no issues

Licenses

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
charenc@0.0.2
crypt@0.0.2
md5@2.3.0

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
is-buffer@1.1.6
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of md5 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
charenc0.0.21.53 kBBSD-3-Clause
prod
crypt0.0.22.25 kBBSD-3-Clause
prod
is-buffer1.1.62.34 kBMIT
prod

Visualizations

Frequently Asked Questions

What does md5 do?

MD5 is a JavaScript function used for hashing messages with the MD5 algorithm. It allows for various data types input which includes: String, Buffer, Array, or Uint8Array. Upon completion of the hashing process, it returns a String. This package can be employed on both the server-side and client-side of JavaScript programming.

How do you use md5?

Using the md5 package involves a relatively straightforward process. First, you need to install it using Node.js by typing the command 'npm install md5'. Once installed, you can use it in your project by requiring it through the statement 'var md5 = require('md5');'. The MD5 hash of a message is obtained by passing the message to the md5 function, like this: 'md5('message');'.

For instance, to print the hash of the word 'message', you would use the following code:

var md5 = require('md5');
console.log(md5('message'));

This package also supports buffers:

var fs = require('fs');
var md5 = require('md5');

fs.readFile('example.txt', function(err, buf) {
  console.log(md5(buf));
});

Where are the md5 docs?

The documentation for the MD5 package can be found directly within its GitHub repository, which is located at git://github.com/pvorb/node-md5.git. The API section of the README explains how to utilize the MD5 function, what data types it supports and the type of data it returns. If you stumble upon any bugs or issues while using the md5 package, it is recommended to open an issue within the GitHub repository. The "Versions" section provides information on the package's version history, helping you to ensure that you are using the correct version of the md5 tool in your projects.