method

variable_size_secure_compare

rails latest stable - Class: ActiveSupport::SecurityUtils

Method deprecated or moved

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

variable_size_secure_compare(a, b)
public

No documentation available.

# File activesupport/lib/active_support/security_utils.rb, line 22
    def variable_size_secure_compare(a, b) # :nodoc:
      secure_compare(::Digest::SHA256.hexdigest(a), ::Digest::SHA256.hexdigest(b))
    end