A simple validator that validates a hash vs a query string