Sha256: 4c9155210797f477c8c6275cbf601e98ce6f7d4c0e150733059c83bdcaf91d21
Contents?: true
Size: 885 Bytes
Versions: 1
Compression:
Stored size: 885 Bytes
Contents
/** * @module seedUtils */ import { encryptSeed, decryptSeed } from '@waves/ts-lib-crypto'; export declare class Seed { readonly phrase: string; readonly address: string; readonly keyPair: { publicKey: string; privateKey: string; }; constructor(phrase: string, chainId?: string); encrypt(password: string, encryptionRounds?: number): string; static encryptSeedPhrase(seedPhrase: string, password: string, encryptionRounds?: number): string; static decryptSeedPhrase(encryptedSeedPhrase: string, password: string, encryptionRounds?: number): string; static create(words?: number): Seed; static fromExistingPhrase(phrase: string): Seed; } export declare function generateNewSeed(length?: number): string; export declare function strengthenPassword(password: string, rounds?: number): string; export { encryptSeed, decryptSeed };
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
waves_lib-0.1.0 | js/node_modules/@waves/waves-transactions/dist/seedUtils/index.d.ts |