Click here to Skip to main content
15,306,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am woeking on a project in php that uses oracle database as back end.
I want to encrypt the user provided password while storing it into database.
And while checking weather user provided password and system stored password is same we can use a function to do that in oracle.
I know that for both this there is hash function and de hash function with password_verify function in mysql for doing the above mentioned tasks.
But I am worried about oracle db is there any function in oracle that does this job and is also compatible with php?

What I have tried:

I have tred both hash de hash and password_verify function with oracle by its of no use.
Please help guys.
Updated 8-Aug-18 3:28am

1 solution

Do not use encryption for passwords. A password should use a one way salted hash so that the original cannot be reproduced. See Secure Password Authentication Explained Simply[^].
Vignesh Iyer 8-Aug-18 9:37am
Can u please explain it in a simpler way as I am new to tis language.
Richard MacCutchan 8-Aug-18 10:11am
Follow the link I gave you and study the article, it explains in detail what you need to do to protect your stored passwords.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900