method
secure_compare
v3.2.1 -
Show latest stable
- Class:
ActiveSupport::MessageVerifier
secure_compare(a, b)private
constant-time comparison algorithm to prevent timing attacks
secure_compare(a, b)constant-time comparison algorithm to prevent timing attacks