@beraji/wallet-sdk
Version:
Beraji: Distributed Secret Sharing.
14 lines (13 loc) • 356 B
TypeScript
export declare class BStorage {
readonly name: string;
private readonly _key;
constructor(name: string, _key: string);
private getKey;
private encrypt;
private decrypt;
setItem(key: string, value: string): void;
getItem(key: string): string;
removeItem(key: string): void;
clear(): void;
get length(): number;
}