From: "Amanda .." Date: 2008-08-28T01:04:24+09:00 Subject: Re: encrypting password on form submit? 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. James Coglan wrote: > I have a plugin called has_password that abstracts away the > SHA1-encryption. > > ruby script/plugin install git://github.com/jcoglan/has_password.git > > There's information in the README on how to use it, it's pretty > straightforward and just handles the password encryption, and has a hook > to > notify you when an object's password changes so you can send emails etc. > There are other more complex plugins like acts_as_authenticated that do > a > lot more than this, so see which suits you best. > -- Posted via http://www.ruby-forum.com/.