Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

sleeyax/mysql-native-password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published