Crypto Vue
    Preparing search index...

    Interface CryptoPluginOptions

    Configuration options for the CryptoPlugin.

    const opts: CryptoPluginOptions = {
    defaultKey: keyTheUserUnlocked,
    };
    interface CryptoPluginOptions {
        defaultKey?: string;
        serverUrl?: string;
        apiKey?: string;
    }
    Index
    defaultKey?: string

    Default symmetric encryption key (hex-encoded) used when none is passed explicitly.

    serverUrl?: string

    Base URL of the crypto-server instance for remote operations.

    No composable reads it; it will be removed.

    apiKey?: string

    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.