I am trying to encrypt a value and sending it through the URL. How do I encrypt and decrypt passwords or any value using the sha2()
function in PHP?
please help. thanks in advance.
I am trying to encrypt a value and sending it through the URL. How do I encrypt and decrypt passwords or any value using the sha2()
function in PHP?
please help. thanks in advance.
You can't decrypt password encrypted using sha2. You can encrypt value which user entered in form and compare it with this stored in ex. mysql database.