Expand description
Security utilities
Functionsยง
- constant_
time_ compare - Constant-time string comparison to prevent timing attacks
- generate_
secure_ id - Generate secure random ID
- hash_
for_ logging - Hash sensitive data for logging (truncated SHA-256)
- sanitize_
filename - Sanitize filename for safe storage