UNPKG

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