1.1.1 • Published 7 years ago
@inspired-beings/argon2 v1.1.1
Simple Argon2id for browsers
This is a simplified version of libsodium.js Argon2id hashing with a customizable salt.
Key Derivation Flow and Specifications
- Sha256
- Argon2id
- Iterations:
4 - Memory:
64Mb - Length:
256b - Parallelism:
1 - Salt length:
8b
- Iterations:
Installation
npm i @inspired-beings/argon2Example
This gives an hexadecimal hash :
import * as argon2 from '@inspired-beings/argon2'
const key = await argon2.hash('password', 'salt')