Causality Analyzer
    Preparing search index...

    AES-256-GCM encrypt/decrypt utilities for storage encryption.

    All encryption uses GCM mode with authentication tags (AEAD). Each encrypt call generates a fresh 12-byte IV.

    Index
    • Decrypt base64-encoded ciphertext → plaintext

      Parameters

      • ciphertext: string

      Returns Promise<string>

    • Encrypt plaintext → base64-encoded ciphertext with embedded IV

      Parameters

      • plaintext: string

      Returns Promise<string>