Title: Add tests for AES encrypt/decrypt helpers
Description
Add a small test suite verifying that the project's AES-256-GCM encrypt/decrypt helpers produce and read the expected iv:tag:ciphertext format and round-trip correctly.
Expected outcome
- Reliable unit tests for
lib/crypto.ts that run in CI and confirm correct behavior.
Relevant files
lib/crypto.ts
__tests__/crypto.test.ts (new)
Title: Add tests for AES encrypt/decrypt helpers
Description
Add a small test suite verifying that the project's AES-256-GCM encrypt/decrypt helpers produce and read the expected
iv:tag:ciphertextformat and round-trip correctly.Expected outcome
lib/crypto.tsthat run in CI and confirm correct behavior.Relevant files
lib/crypto.ts__tests__/crypto.test.ts(new)