mysql-password

0.0.1 • Public • Published

node-mysql-password

Returns the same value that would be returned from MySQL's password() function.

examples

var mysqlPassword = require('mysql-password');
 
var passhash = mysqlPassword("secret");
console.log(passhash);

output:

*14E65567ABDB5135D0CFD9A70B3032C179A49EE7

warnings

This is NOT for hashing passwords! The MySQL password() function is not considered secure by any means!

This is meant to be used when you need the MySQL password() output to interface with another application that someone else has written insecurely.

license

node-mysql-password is covered under The Unlicense. See LICENSE for more information.

Readme

Keywords

Package Sidebar

Install

npm i mysql-password

Weekly Downloads

25

Version

0.0.1

License

Unlicense

Last publish

Collaborators

  • hollinsky