Beignet API reference
    Preparing search index...

    Interface CreateEncryptionOptions

    Configuration for the built-in AES-256-GCM implementation.

    interface CreateEncryptionOptions {
        key: string;
        previousKeys?: readonly string[];
    }
    Index
    key: string

    A base64: prefixed, canonical Base64 encoding of 32 random bytes.

    previousKeys?: readonly string[]

    Decryption-only keys in the same format. New writes always use key.