class Rack::Session::Cookie
def legacy_digest_match?(data, digest)
def legacy_digest_match?(data, digest) return false unless data && digest Rack::Utils.secure_compare(digest, legacy_generate_hmac(data)) end
def legacy_digest_match?(data, digest) return false unless data && digest Rack::Utils.secure_compare(digest, legacy_generate_hmac(data)) end