UNPKG

@li0ard/streebog

Version:

Streebog hash function in pure TypeScript

9 lines (8 loc) 362 B
/** * PBKDF2 implementation for GOST R 34.11-2012 * @param password Password from which a derived key is generated * @param salt Salt * @param iterations Number of iterations (aka work factor) * @param dkLen Output length */ export declare const Streebog512PBKDF2: (password: Uint8Array, salt: Uint8Array, iterations: number, dkLen: number) => Uint8Array;