Skip to content
tarcieri edited this page Mar 8, 2013 · 5 revisions

Crypto::HMAC::SHA256 and Crypto::HMAC::SHA512256 provide secure hash-based message authenticators.

Message authenticators are the symmetric equivalent of [digital signatures|Digital Signatures]. They can be used to detect when a message has been (potentially maliciously) altered.

Code Example

Sorry, there's not a code example for this yet. For now you can view the RDoc:

Clone this wiki locally