Props for the CryptoProvider component.
const props: CryptoProviderProps = { defaultKey: "ab01...", children: <App /> }; Copy
const props: CryptoProviderProps = { defaultKey: "ab01...", children: <App /> };
Optional
Hex-encoded default encryption key.
Server URL for SDK-backed operations.
No hook reads it; it will be removed.
API key for server authentication.
No hook reads it, and an API key in a browser bundle is public: authenticate users to your own backend instead. It will be removed.
Child components that can access the crypto context.
Props for the CryptoProvider component.
Example