Files
Investidor-V2/outputs/investmoz-parques-mapa-20261016/matrix-tool/node_modules/apache-md5/README.md
T
nala cef6e201c7
tests / ci (push) Canceled after 0s
versao nrgocios 2
2026-10-16 20:11:05 +02:00

936 B

apache-md5

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

build

Installation

Via git (or downloaded tarball):

$ git clone git://github.com/gevorg/apache-md5.git

Via npm:

$ npm install apache-md5

Usage

const md5 = require("apache-md5");

// Encrypting password using apache's md5 algorithm.
const encryptedPassword = md5("mypass");

// Should print true.
console.log(md5("mypass", encryptedPassword) == encryptedPassword);
// Should print false.
console.log(md5("notmypass", encryptedPassword) == encryptedPassword);

Running tests

It uses mocha, so just run following command in package directory:

$ npm test

License

The MIT License (MIT)