Encrypts a user flow state with AES-256-GCM using a SHA-256-derived key.
const encrypted = encryptState(state, "coord-secret"); Copy
const encrypted = encryptState(state, "coord-secret");
Encrypts a user flow state with AES-256-GCM using a SHA-256-derived key.