@proton/ccxt
Version:
A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
17 lines (16 loc) • 576 B
TypeScript
import { Input } from './utils.js';
export declare type ArgonOpts = {
t: number;
m: number;
p: number;
version?: number;
key?: Input;
personalization?: Input;
dkLen?: number;
asyncTick?: number;
maxmem?: number;
onProgress?: (progress: number) => void;
};
export declare const argon2d: (password: Input, salt: Input, opts: ArgonOpts) => Uint8Array;
export declare const argon2i: (password: Input, salt: Input, opts: ArgonOpts) => Uint8Array;
export declare const argon2id: (password: Input, salt: Input, opts: ArgonOpts) => Uint8Array;