UNPKG

@datadayrepos/libsodium-wrapper

Version:

Typescript for accessing the libsodium.js for a small subset of functionalities.

11 lines (10 loc) 290 B
export type Argon2IDOptions = { memoryLimit?: number; opsLimit?: number; salt?: Uint8Array; outputLength?: number; }; export declare function createArgon2IDHash(password: string, options?: Argon2IDOptions): Promise<{ error: string | null; result: string | null; }>;