class Rack::Protection::AuthenticityToken

def token_hmac(session, identifier)

def token_hmac(session, identifier)
  OpenSSL::HMAC.digest(
    OpenSSL::Digest::SHA256.new,
    real_token(session),
    identifier
  )
end