UNPKG

steem-auth-vue

Version:

A Vue 3 authentication component for Steem blockchain and Echelon sidechain

9 lines (8 loc) 478 B
export declare class EncryptionService { static get encryptionKey(): CryptoKey | null; static generateEncryptionKey(username: string, password: string): Promise<CryptoKey>; static generatePinKey(username: string, pin: string): Promise<CryptoKey>; static setEncryptionKey(key: CryptoKey | null): void; static encryptAndReturnPrivateKey(privateKey: string): Promise<string>; static decryptPrivateKey(encryptedKeyString: string): Promise<string>; }