Result of edge-compatible AES-GCM encryption.
import type { EdgeEncryptResult } from "@aspect/crypto-edge";const result: EdgeEncryptResult = { ciphertext: new Uint8Array(44), // iv || ciphertext || tag ivLength: 12,}; Copy
import type { EdgeEncryptResult } from "@aspect/crypto-edge";const result: EdgeEncryptResult = { ciphertext: new Uint8Array(44), // iv || ciphertext || tag ivLength: 12,};
IV prepended to ciphertext (iv || ciphertext).
Length of the IV prefix.
Result of edge-compatible AES-GCM encryption.
Example