Home » Developer & Programmer » Forms » Password Encryption And Decryption
icon14.gif  Password Encryption And Decryption [message #183453] Fri, 21 July 2006 00:56 Go to next message
qadeerahmed
Messages: 63
Registered: July 2006
Location: Pakistan
Member
Hi,

I've a scenario as, on a user login & Registration forms, i've Two Text Fields 'UserName' & 'Password'.
1)
What I want to do is, For Registration Form, Whatever User Writes in 'Password'Field, First It Should be Encrypted and then save in a Table When User Press the Submit Button.
2)
And For Login, Password Should Be decrypted Before Loging In.

Is there Any Way to Do?
Waiting For Your Reply.
Thanks IN Advance !!

Regards
Qadeer Ahmed
Re: Password Encryption And Decryption [message #183518 is a reply to message #183453] Fri, 21 July 2006 03:51 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
That would be a job for DBMS_CRYPTO (10g) or DBMS_OBFUSCATION_TOOLKIT (pre-10g), Oracle's built-in packages for encryption/decryption.

MHE
Re: Password Encryption And Decryption [message #183747 is a reply to message #183518] Sun, 23 July 2006 05:04 Go to previous messageGo to next message
qadeerahmed
Messages: 63
Registered: July 2006
Location: Pakistan
Member
Thanks Maaher !!!

But How can I use This Built-in Package, I have No IDEA About this. Kindly! Help Me out. I'm Using Forms 6i.

Thanks!!
Qadeer Ahmed
Re: Password Encryption And Decryption [message #183847 is a reply to message #183747] Mon, 24 July 2006 02:32 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Hi, I even have a better idea. Why don't you store the username and the hash of the username + password? This is a one way encryption algorithm. Tom Kyte has explained it here.

MHE
Re: Password Encryption And Decryption [message #184529 is a reply to message #183847] Wed, 26 July 2006 22:51 Go to previous message
qadeerahmed
Messages: 63
Registered: July 2006
Location: Pakistan
Member
Thanks Maaheer !!!
Previous Topic: Forms 6i Error - "Illegal operation and program need to be close".
Next Topic: menu problem
Goto Forum:
  


Current Time: Fri Sep 20 09:47:10 CDT 2024