A MAC provides a way to check the integrity of information transmitted over or stored in an unreliable medium, based on a secret key.
Daiki Ueno, Geoffrey Grosenbach
gem "ruby-hmac", "~> 0.3.2"