1.0.5 • Published 11 months ago

opticore-hashing-password v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Hash Password Module

Installation

Usage

Exemple

const passwordHash: HashPasswordService = new HashPasswordService();
const plainPassword: string = "password";
const salt: string = passwordHash.generateSalt(16, "hex");
const hashAlgorithm = 'argon2';
Hash password
const hashedPassword = await passwordHash.hashPassword(plainPassword, salt, hashAlgorithm, 100, 4294, "hex");
verify password
const isPasswordValid: boolean = await passwordHash.verifyHashPassword(hashedPassword, salt, plainPassword, hashAlgorithm, 100, 4294, "hex");

Notice

Security Issues

https://github.com/guyzoum77/opticore-hashing-password/issues

Contributing

OptiCore Hash Password module is an Open Source, so if you would like to contribute, you're welcome. Clone repository and open pull request.

About

OptiCore Hash Password module is led by Guy-serge Kouacou and supported by Guy-serge Kouacou