Module HMAC
In: lib/hmac-md5.rb
lib/hmac-rmd160.rb
lib/hmac-sha1.rb
lib/hmac-sha2.rb
lib/hmac.rb
lib/hmac-md5.rb
lib/hmac-rmd160.rb
lib/hmac-sha1.rb
lib/hmac-sha2.rb
lib/hmac.rb

This module provides common interface to HMAC engines. HMAC standard is documented in RFC 2104:

  H. Krawczyk et al., "HMAC: Keyed-Hashing for Message Authentication",
  RFC 2104, February 1997

These APIs are inspired by JCE 1.2’s javax.crypto.Mac interface.

  <URL:http://java.sun.com/security/JCE1.2/spec/apidoc/javax/crypto/Mac.html>

Classes and Modules

Class HMAC::Base
Class HMAC::MD5
Class HMAC::RMD160
Class HMAC::SHA1
Class HMAC::SHA256
Class HMAC::SHA384
Class HMAC::SHA512

Constants

VERSION = '0.3.1'
STATUS_INITIALIZED = 0, 1
VERSION = '0.3.1'
STATUS_INITIALIZED = 0, 1

[Validate]