mysql-native-password
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

mysql-native-password

Drop in implementation of the legacy mysql_native_password authentication plugin that was introduced in MySQL 4.1.

WARNING: if you care about security, do NOT use this. This library only exists to allow integration with legacy systems.

Installation

$ npm i mysql-native-password

Usage

const { password } = require('mysql-native-password');
const hash = password('MyPlaintextPassword');
console.log(hash); // Output: *298A0D9CE846C7139B5F57C35302EC0F735DBABB

Readme

Keywords

none

Package Sidebar

Install

npm i mysql-native-password

Weekly Downloads

3

Version

1.0.0

License

UNLICENSED

Unpacked Size

4 kB

Total Files

6

Last publish

Collaborators

  • sleeyax