import type { Pbkdf2Options, Pbkdf2Result } from "./helpers/types.js"; export type { Pbkdf2Digest, Pbkdf2Options, Pbkdf2Result } from "./helpers/types.js"; /** * Derives a 32-byte key from a password using PBKDF2 with HMAC-SHA-256 or HMAC-SHA-512. * * If `options` is omitted, a random 16-byte salt is generated, iterations default to * `PBKDF2_DEFAULT_ITERATIONS`, and the PRF is HMAC-SHA-256. * * @param password Password material as raw bytes (encoding is up to the caller). * @param options Optional salt, iteration count, and digest algorithm. * @returns Derived key and the salt, iterations, and digest that were used. */ export declare function pbkdf2(password: Uint8Array, options?: Pbkdf2Options): Promise; //# sourceMappingURL=pbkdf2.d.mts.map