Base constructor that receive all the configuration as an object.
Base constructor.
Base key used to encrypt the stored data.
Optional
dbName: stringDatabase name used to store the data.
Optional
storeName: stringStorage name used to store the data.
Optional
salt: BufferSourceCustom salt used to encrypt the stored data.
Optional
encryptIterations: numberCustom iteration cycles to encrypt the stored data.
Static
AuthenticityDefault authenticity error message when the CryptoStorage
were not able de decrypt the stored data.
Static
CryptoDefault error message when a crypto key were not given.
Loads and decrypt the stored data that match the given key.
Promise with the decrypted data that match the given key, or undefined if nothing was found.
The given key to find the data.
Generated using TypeDoc
Crypto Storage service used to save and load local encrypted data using IndexedDB.