Over a million developers have joined DZone.

Ruby HMAC Verifier

DZone's Guide to

Ruby HMAC Verifier

· ·
Free Resource
// Ruby script to verify the HMAC of a file or string.

#!/usr/bin/env ruby
#  Created by Jon (exabrial+hmacruby@gmail.com) on 2006-11-04.
#  Copyright (c) 2006. All rights reserved.
#  Released under MIT License

require 'openssl'
require "getopt/std"
include OpenSSL
include Digest

def printhelp

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}