How Can Show the encrypted password in my view page as decrypted value?
I have generated multiple numbers of password for students. And I have kept those in database as studentPassword. Now want to view the encrypted password list in my view page table as decrypted value.
Suppose, in the database table there is a password 123456. But it's in encrypted formation. So how can I show the Decrypted value 123456 in my view page table row?
@mousumi_mou You should never display a password in plain text. If you do, it should be consider compromised.
Passwords should also be hashed rather than encrypted. You should never be able to reverse a password. If you can reverse a password, so can a nefarious user who gains unauthorised access to your application or database.
Please have a read up on basic security principles in regards to application development.
@martinbean another user asked the exact same question. This sounds like someone may be trying to code a site to later scam users, or get personal data.
Passwords are never supposed to be un-hashed, that's the point of having them.