export interface ScryptParams { n: number; r: number; p: number; } /** * Encrypts a WIF key using a given keyphrase under NEP-2 Standard. * @param wifKey - WIF key to encrypt (52 chars long). * @param keyphrase - password will be encoded as UTF-8 and normalized using Unicode Normalization Form C (NFC). * @param scryptParams - optional parameters for Scrypt. Defaults to NEP2 specified parameters. * @returns The encrypted key in Base58 (Case sensitive). */ export declare function encrypt(wifKey: string, keyphrase: string, scryptParams?: ScryptParams, addressVersion?: number): Promise; /** * Decrypts an encrypted key using a given keyphrase under NEP-2 Standard. * @param encryptedKey - tThe encrypted key (58 chars long). * @param keyphrase - the password will be encoded as UTF-8 and normalized using Unicode Normalization Form C (NFC). * @param scryptParams - parameters for Scrypt. Defaults to NEP2 specified parameters. * @returns The decrypted WIF key. */ export declare function decrypt(encryptedKey: string, keyphrase: string, scryptParams?: ScryptParams, addressVersion?: number): Promise; export declare function decryptNeo2(encryptedKey: string, keyphrase: string, scryptParams?: ScryptParams): Promise; //# sourceMappingURL=nep2.d.ts.map