Public/Private Key Pair Generation (ECDH P-256)
Secure Session Key Derivation using Diffie-Hellman
AES-256-GCM Message Encryption/Decryption
Base64 Encoding for compatibility with OutSystems text handling
Session Key Rotation Utility
No Dependencies – Pure Web Crypto API
Secure messaging in Reactive Web/Mobile apps
Encrypted API payloads
Storing sensitive client-side data securely
Store private keys securely (e.g., OutSystems secrets/session storage).
Rotate session keys periodically for enhanced security.
Public keys can be safely shared, private keys must stay secret.
Key Exchange: ECDH (P-256)
Encryption: AES-256-GCM
Encoding: Base64
Environment: Browser (Web Crypto API)