RUBY Protect passwords with NOECHO

632 views · Published 14 October 2013 · 2:29 · Indexed 1 November 2026

Channel: theurbanpenguin · 2013 · Education

Watch on YouTube

More videos like this online at http://www.theurbanpenguin.com
If you have been used to using gets to gain user input you will soon note that the input is echoed to the screen. For a password this is not useful so we can require the io/console part of ruby core and use noecho

More from this channel