Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

md5.js

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

md5.js

node style md5 on pure JavaScript

  • 1.3.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created

What is md5.js?

The md5.js npm package is a JavaScript library for hashing messages with MD5. MD5 is a widely used cryptographic hash function that produces a 128-bit (16-byte) hash value. It's commonly used to check the integrity of files and create digital signatures. The md5.js package allows for easy integration of MD5 hashing into JavaScript applications, both in the browser and in Node.js environments.

What are md5.js's main functionalities?

Hashing a string

This feature allows you to hash a string using MD5. The example code demonstrates how to create a new MD5 hash instance, update it with a string ('hello'), and then digest the hash in hexadecimal format. This is useful for generating a hash of passwords or any other sensitive information that needs to be stored securely.

"use strict"; const MD5 = require('md5.js'); const hash = new MD5().update('hello').digest('hex'); console.log(hash);

Other packages similar to md5.js

Keywords

FAQs

Package last updated on 02 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc