This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@inspired-beings/argon2
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Simple Argon2id for browsers

This is a simplified version of libsodium.js Argon2id hashing with a customizable salt.

npm Travis David David

NSP Status

Key Derivation Flow and Specifications

  1. Sha256
  2. Argon2id
    • Iterations: 4
    • Memory: 64Mb
    • Length: 256b
    • Parallelism: 1
    • Salt length: 8b

Installation

npm i @inspired-beings/argon2

Example

This gives an hexadecimal hash :

import * as argon2 from '@inspired-beings/argon2'

const key = await argon2.hash('password', 'salt')

Readme

Keywords

none

Package Sidebar

Install

npm i @inspired-beings/argon2

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

6.61 MB

Total Files

21

Last publish

Collaborators

  • ivangabriele