Closed explody closed 14 years ago
Point taken. I meant "pure Ruby" in that it only uses what comes with Ruby. After all Ruby itself is written in C. So I didn't think of digest.rb not being "Ruby" since it ships with Ruby --in fact, I actually had no idea how digest.rb was implemented. Sorry.
No worries. It wouldn't be any issue at all except for those of us that use non-C ruby (think maglev) and/or otherwise can't use native extensions. Thanks for the response.
It got my hopes up, but I have to respectfully disagree that this is pure ruby. Most of the hashing methods require digest, which is a relatively thin wrapper around a bunch of C extensions, e.g.:
$ head -3 /usr/lib/ruby/1.8/digest.rb
require 'digest.so'
module Digest