This commit is contained in:
2025-05-19 20:36:21 -05:00
commit f5303487be
1865 changed files with 260387 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import { Input } from './utils.js';
export 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;