UNPKG

301 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2interface Result {
3 password: Uint8Array;
4 rounds: number;
5 salt: Uint8Array;
6}
7export declare function pbkdf2Encode(passphrase?: HexString | Uint8Array | string, salt?: Uint8Array, rounds?: number, onlyJs?: boolean): Result;
8export {};