From: James Coglan Date: 2008-08-28T01:13:29+09:00 Subject: Re: encrypting password on form submit? ------=_Part_17703_17819590.1219853883773 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/8/27 Amanda .. > Thanks for your response, but do you know of a way to just encrypt the > password when the form is submitted? (ie encrypt the string in the text > field before it gets stored into the database) I really just need to > know how to do this with the type of form I have above. To encrypt a string: require 'digest/sha1' encrypted = Digest::SHA1.hexdigest(string) ------=_Part_17703_17819590.1219853883773--