From: John Chant Date: 2009-01-22T04:08:16+09:00 Subject: Re: Passwords --0015174c1d90a7610f046102be98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks, that is simple, but where do I find Password?, what requires do I need? 2009/1/21 Ben Bleything > On Wed, Jan 21, 2009 at 10:39 AM, John Chant wrote: > > I would like to be able to read a password without echoing the > > characters typed. I've looked at getc but this echos the character (as a > > number). > > The Ruby-Password library supports this. Check it out: > http://www.caliban.org/ruby/ruby-password.shtml > > It's pretty simple: > > Password.get( "Your prompt: " ) > > Ben > > --0015174c1d90a7610f046102be98--