apache-md5
Node.js module for Apache style password encryption using md5.
Last updated 3 years ago by gevorg .
MIT · Repository · Bugs · Original npm
$ cnpm install apache-md5 
SYNC missed versions from official npm registry.

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)

Current Tags

  • 1.1.8                                ...           latest (3 years ago)

3 Versions

  • 1.1.8                                ...           3 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.7                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (7)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org