Monthly Archives: November 2009

Ruby MD5 and SHA1 Digest Benchmark

I did a benchmark of MD5 and SHA1 digests in Ruby. The benchmark was done in Ruby 1.8.6 on Windows. The code used to benchmark: The output: As expected, digest methods are faster than hexdigest and MD5 is faster than … Continue reading

Posted in Ruby | 3 Comments