[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Reading passwords in a console application
- From: Dirk Laurie <dpl@...>
- Date: Mon, 1 Aug 2011 15:32:06 +0200
The following code
if (hash(io.read())==hashed_password) then ...
suffers from the drawback that what you type appears on the screen.