module Roda::RodaPlugins::RouteCsrf::InstanceMethods

def csrf_compare(s1, s2)

Perform a constant-time comparison of the two strings, returning true if they match and false otherwise.
def csrf_compare(s1, s2)
  Rack::Utils.secure_compare(s1, s2)
end