Increase *** ID length to 512 characters for enhanced security

OtherSecurityService
Shipped
October 14, 2025 at 3:01 AM UTC
Author
snadjafinia
Commit
3111bc4

- *** ID: 512-char hex string (256 bytes of secure random data) - OTK ID: 64-char hex string (32 bytes - unchanged) - Updated generateSecureHexString() to accept configurable length - Updated all validation checks to use ***_ID_LENGTH (512) and OTK_ID_LENGTH (64) - Truncated *** ID logging to first 64 chars for readability - Added length indicators in all log messages - SecurityController updated to handle 512-char IDs in all endpoints Security benefit: 2048-bit entropy for session IDs (vs previous 256-bit)

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing