Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

mysql-native-password

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-native-password

Drop in implementation of the legacy mysql_native_password authentication plugin from MySQL4.1+

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 13 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts