I am developing a web application in which providing a scratch card with a user name and password. Storing password in database in unencrypted form is not secure. But I want the passwords in plain text for scratchcard. I am thinking about the following options
- Use decryptable algorithm for encription.
- Store unencrypted passsword in another table.
- Store the unencrypted password in local computer.
Which is the better option?