1.2.6 • Published 3 years ago
apache-crypt v1.2.6
apache-crypt
Node.js package for Apache style password encryption using crypt(3).
Installation
Via git (or downloaded tarball):
$ git clone git://github.com/gevorg/apache-crypt.gitVia npm:
$ npm install apache-cryptUsage
const crypt = require("apache-crypt");
// Encrypting password using auto-generated 2 char salt.
const encryptedPassword = crypt("mypass");
// Should print true.
console.log(crypt("mypass", encryptedPassword) == encryptedPassword);
// Should print false.
console.log(crypt("notmypass", encryptedPassword) == encryptedPassword);Running tests
It uses mocha, so just run following command in package directory:
$ npm testLicense
The MIT License (MIT)
1.2.6
3 years ago
1.2.5
4 years ago
1.2.4
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
9 years ago
1.2.0
9 years ago
1.1.2
9 years ago
1.1.1
9 years ago
1.1.0
10 years ago
1.0.9
10 years ago
1.0.8
11 years ago
1.0.7
11 years ago
1.0.6
11 years ago
1.0.5
12 years ago
1.0.4
12 years ago
1.0.3
12 years ago
1.0.2
12 years ago
1.0.1
12 years ago
1.0.0
12 years ago