Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
/ is-argon Public archive

🔐 Check if a string is a valid Argon2 hash

License

Notifications You must be signed in to change notification settings

dothq/is-argon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-argon

Install

Install with npm

$ npm i @dothq/is-argon

Install with yarn

$ yarn add @dothq/is-argon

Usage

import { isArgon } from '@dothq/is-argon'

isArgon("$argon2i$v=19$m=4096,t=3,p=1$MLhDDWwGdPJNxvvutAvp4g$+/cn3l6/QR9BB5ABYfCZr9Ssa5R1f+kIVh+4Abtx04w")
    .then(valid => console.log(valid))

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

License

Copyright © 2021 Dot HQ Licensed under the MPL-2.0 license.

About

🔐 Check if a string is a valid Argon2 hash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published