Configuration options for the CryptoPlugin.
const opts: CryptoPluginOptions = { defaultKey: keyTheUserUnlocked,}; Copy
const opts: CryptoPluginOptions = { defaultKey: keyTheUserUnlocked,};
Optional
Default symmetric encryption key (hex-encoded) used when none is passed explicitly.
Base URL of the crypto-server instance for remote operations.
No composable reads it; it will be removed.
API key for authenticating with the crypto-server.
No composable reads it, and an API key in a browser bundle is public: authenticate users to your own backend instead. It will be removed.
Configuration options for the CryptoPlugin.
Example