UNPKG

382 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2import type { Params } from './types';
3interface Result {
4 params: Params;
5 password: Uint8Array;
6 salt: Uint8Array;
7}
8export declare function scryptEncode(passphrase?: HexString | Uint8Array | string, salt?: Uint8Array, params?: {
9 N: number;
10 p: number;
11 r: number;
12}, onlyJs?: boolean): Result;
13export {};