Method: Rack::Utils#secure_compare
- Defined in:
-
lib/rack/utils.rb,
lib/rack/utils.rb
:nocov:
540 541 542 543 544 |
# File 'lib/rack/utils.rb', line 540 def secure_compare(a, b) return false unless a.bytesize == b.bytesize OpenSSL.fixed_length_secure_compare(a, b) end |