1.0.8 • Published 1 year ago

authme-password-check v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

AuthMeReloaded Password Checking In JS

This package was created for easy password verification in the AuthMeReload plugin from minecraft plugin.

Package was rewriten by me from php to js. There will be updates to this package to change password and delete password.

How to youse package ?

npmjs

First import package

import checkPassword from "authme-password-check"

Than you can use checkPassword function like this:

const pwCheck = checkPassword(password, databasePassword);

Fucntion will return true if passwords match, otherwise false

Testing package

const databasePassword = "$SHA$dc991e87ddb674f1$9c27ce343ccee87be3dca9c1f7aac79abe2f71abd7cb2825006f0a64bafdd361" // test in hashed format (from db)
const password = "test" // password that you want to compare

const pwCheck = checkPassword(password, databasePassword) // save function to pwCheck
console.log(pwCheck) // console log

From Radoslav (Nezo96) with ❤

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.0

1 year ago