Attributes
Includes Deno configuration
Repository
Current version released
3 years ago
Dependencies
std
Versions
deno-argon2-wasm
This library provides support for the Argon2 password hashing algorithm in Deno. The binding are written in Rust and compiled to WebAssembly.
Usage
import { hash, verify } from 'https://deno.land/x/argon2_wasm/mod.ts';
// Hash a password and get the encoded hash.
// The salt is automatically generated.
const hashedPassword = hash('hunter2');
// Verify password against encoded hash.
const isPasswordValid = verify('hunter2', hashedPassword);Maintainers
- Victor Wernér (@vwerkku)
License
Copyright (c) 2023 Victor Wernér. Licensed under the MIT license.
See LICENSE for more details.