crypt3-bindings
v1.2.0
Published
crypt3 C bindings for nodejs
Downloads
15
Readme
Introduction
Implements crypt3 C bindings for Node.js. Provides a simple interface to the crypt3 function with MD5 hashing. This is useful for generating password hashes for Linux systems.
Installation
Only linux platform is supported.
npm install crypt3-bindings
Usage
const { encrypt } = require('crypt3-bindings');
console.log(crypt3.encrypt("test")); // random salt will be generated
console.log(crypt3.encrypt("test", "salt")); // provide your own salt