Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EncryptedPersistence

EncryptedPersistence is a Persistence implementation that uses ECIES to encrypt all values ECIES encryption protects against unauthorized reads, but not unauthorized writes. A third party with access to the underlying store could write malicious data using the public key of the owner

Hierarchy

  • EncryptedPersistence

Implements

Index

Constructors

Methods

Constructors

Methods

  • getItem(key: string): Promise<null | Uint8Array>
  • setItem(key: string, value: Uint8Array): Promise<void>

Generated using TypeDoc