Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/argon2ian/src/async.ts>ArgonWorker

Very compact Argon2 in WASM - mirror of https://codeberg.org/valpackett/argon2ian
Go to Latest
class ArgonWorker
import { ArgonWorker } from "https://deno.land/x/argon2ian@1.0.1/src/async.ts";

Constructors

new
ArgonWorker()

Properties

promises: Map<number, [CallableFunction, CallableFunction]>
rid: number
worker: Worker

Methods

hash(
password: Uint8Array,
salt: Uint8Array,
options?: ArgonOptions,
): Promise<Uint8Array>
verify(
password: Uint8Array,
salt: Uint8Array,
hash: Uint8Array,
options?: ArgonOptions,
): Promise<Uint8Array>