logo
GeekFormat

Secure String Comparison

The normal comparison returns early in the first non-matching character and may reveal the time characteristics. When it comes to Token, signature, or key verification, it is recommended that a "security comparison" be used.

Length: 0

Length: 0

Apply scene

  • API Key and Access Token Verify
  • HMAC / Webhook Signature Authentication
  • One-time password key comparison