StaticopenOptionalstore_name: null | stringOptionalstore_passphrase: null | stringOptionallogger: anyStaticopenOpen a crypto store based on IndexedDB, using the given key for encryption.
store_name - The name that should be used to open the IndexedDB
based database.
store_key - The key that should be used to encrypt the store, for
IndexedDB-based stores. Must be a 32-byte array.
logger - An optional logger instance to use for writing log messages
during the open operation. An instance of JsLogger.
Optionallogger: any
Open a crypto store.
The created store will be based on IndexedDB if a
store_nameis provided; otherwise it will be based on a memory store and once the objects is dropped, the keys will be lost.Arguments
store_name- The name that should be used to open the IndexedDB based database. If this isn't provided, a memory-only store will be used. Note the memory-only store will lose your E2EE keys when theStoreHandlegets dropped.store_passphrase- The passphrase that should be used to encrypt the store, for IndexedDB-based storeslogger- An optional logger instance to use for writing log messages during the open operation. An instance ofJsLogger.