Files
url_tracker_tool/node_modules/argon2/argon2.d.ts
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

51 lines
1.1 KiB
TypeScript

// Type definitions for argon2 v0.19.2
/// <reference types="node" />
export const argon2d: 0;
export const argon2i: 1;
export const argon2id: 2;
export interface Options {
hashLength?: number;
timeCost?: number;
memoryCost?: number;
parallelism?: number;
type?: typeof argon2d | typeof argon2i | typeof argon2id;
version?: number;
salt?: Buffer;
saltLength?: number;
raw?: boolean;
secret?: Buffer;
associatedData?: Buffer;
}
export interface NumericLimit {
max: number;
min: number;
}
export interface OptionLimits {
hashLength: NumericLimit;
memoryCost: NumericLimit;
timeCost: NumericLimit;
parallelism: NumericLimit;
}
export const defaults: Options;
export const limits: OptionLimits;
export function hash(
plain: Buffer | string,
options: Options & { raw: true },
): Promise<Buffer>;
export function hash(
plain: Buffer | string,
options?: Options & { raw?: false },
): Promise<string>;
export function verify(
hash: string,
plain: Buffer | string,
options?: Options,
): Promise<boolean>;
export function needsRehash(hash: string, options?: Options): boolean;