zeed
    Preparing search index...

    Function encryptXAES

    • Encrypts data using XAES-256-GCM with the given key and iv. Key must be a 256-bit AES-CBC CryptoKey with 'encrypt' usage.

      Parameters

      • params: { additionalData?: BufferSource; iv: BufferSource }
      • key: CryptoKey
      • data: BufferSource

      Returns Promise<ArrayBuffer>