Cool - I had inklings of something like this in my head ... but I couldn't
put it together. I figured someone would be able to pop out an easy answer.

Is the MD5 hash always going to be the same length (it seems that way from
playing with it)? Will different implementations of MD5 yield the same
output for the same input?


----- Original Message -----
From: "Philipp Meier" <meier / meisterbohne.de>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Monday, August 12, 2002 9:59 AM
Subject: Re: Primary Key Hash help

Make a hash sum over the data:

require 'md5'
unique_key = MD5.new(line)

-billy.