anon-identity
Version:
Decentralized identity framework with DIDs, Verifiable Credentials, and privacy-preserving selective disclosure
12 lines • 458 B
TypeScript
/**
* Browser-compatible secure storage using localStorage or IndexedDB
*/
export declare class EncryptedStorageService {
private storageKey;
saveEncryptedData(identifier: string, data: any, password: string): Promise<void>;
loadEncryptedData(identifier: string, password: string): Promise<any | null>;
deleteData(identifier: string): void;
private getAllStoredData;
clearAll(): void;
}
//# sourceMappingURL=storage-browser.d.ts.map