Digest::Whirlpool is a Ruby library for calculating message digests using the Whirlpool algorithm. The library interface conforms to the standard Digest API.
More information about Whirlpool:
The C code is based on the sample implementation, as available on the mentioned website.
In Gemfile:
gem "digest-whirlpool"
In your ruby code:
require "digest"
p Digest::Whirlpool.hexdigest("") # The module is auto-loaded
See the file LICENSE.