Module: HMAC

Defined in:
lib/extensions/hmac/hmac.rb,
lib/extensions/hmac/hmac-md5.rb,
lib/extensions/hmac/hmac-sha1.rb,
lib/extensions/hmac/hmac-sha2.rb,
lib/extensions/hmac/hmac-rmd160.rb

Overview

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>

Source repository is at

http://github.com/topfunky/ruby-hmac/tree/master

Defined Under Namespace

Classes: Base, MD5, RMD160, SHA1, SHA256, SHA384, SHA512

Constant Summary collapse

VERSION =
'0.4.0'