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

Latest commit

 

History

History
33 lines (21 loc) · 628 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 628 Bytes

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.