method

secure_compare

rails latest stable - Class: ActiveSupport::MessageVerifier

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

secure_compare(a, b)
private

constant-time comparison algorithm to prevent timing attacks