Socket
Socket
Sign inDemoInstall

apache-md5

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apache-md5

Node.js module for Apache style password encryption using md5.


Version published
Maintainers
1
Created

What is apache-md5?

The apache-md5 npm package is used to create and verify Apache-style MD5 hashed passwords. This is particularly useful for applications that need to authenticate users against a password file used by Apache HTTP Server.

What are apache-md5's main functionalities?

Creating an Apache MD5 Hash

This feature allows you to create an Apache-style MD5 hash from a plain text password. The generated hash can be stored and used for password verification.

const apacheMD5 = require('apache-md5');
const hash = apacheMD5('password');
console.log(hash);

Verifying an Apache MD5 Hash

This feature allows you to verify a plain text password against an existing Apache-style MD5 hash. It returns a boolean indicating whether the password matches the hash.

const apacheMD5 = require('apache-md5');
const hash = apacheMD5('password');
const isMatch = apacheMD5('password', hash) === hash;
console.log(isMatch);

Other packages similar to apache-md5

Keywords

FAQs

Package last updated on 25 Jun 2021

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