Encrypt plaintext using AES-GCM, preferring WebCrypto hardware acceleration.
Output format: base64(nonce (12B) || ciphertext || tag (16B)) Compatible with the noble-based aesGcmDecrypt from modern/aes.ts.
aesGcmDecrypt
modern/aes.ts
Encrypt plaintext using AES-GCM, preferring WebCrypto hardware acceleration.
Output format: base64(nonce (12B) || ciphertext || tag (16B)) Compatible with the noble-based
aesGcmDecryptfrommodern/aes.ts.