Peter Woodsky wrote:
> From the first solution given it works as it should. All that was 
> required was "" for the vars password and salt.
> 
> md5_w_salt = Digest::MD5.hexdigest(Digest::MD5.hexdigest("#{password}") 
> + "#{row[0]}")

Glad it works. Note that if password and row[0] are Strings, you should 
not need to wrap them in "#{..}" since you are just interpolating a 
String into another String.
-- 
Posted via http://www.ruby-forum.com/.