Latest articles
4 articles in the current browsing window, ordered by publication date.
This comprehensive guide answers 12 critical API security questions covering HMAC signatures, timestamp and nonce replay prevention, constant-time comparison against timing attacks, Redis SETNX atomic operations, appId/appSecret management, and key rotation strategies for robust API protection.

This article provides a comprehensive implementation guide for securing APIs using HMAC-SHA256 signatures, timestamp and nonce anti-replay mechanisms, appId/appSecret credential management, constant-time comparison to prevent timing attacks, and business idempotency patterns with Spring Boot 3.2.4 and Redisson.

The article explains PHP's hash_equals() function, which performs a constant‑time comparison of two strings to mitigate timing attacks, describes its parameters and return value, and provides example code demonstrating correct and incorrect usage with crypt() hashes.

The article explains how constant‑time string comparison functions work, shows Java and Scala implementations, and demonstrates why such techniques are essential to thwart timing attacks in cryptographic and authentication scenarios.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.