|
* Dirk Laurie: > The following code > > if (hash(io.read())==hashed_password) then ... > > suffers from the drawback that what you type appears on the screen. If you've got a mechanism to call C functions, you can simply use getpass(3), which takes care of all the details.