encrypt password while inserting into table [message #33197] |
Sat, 25 September 2004 08:05 |
Mahesh P
Messages: 69 Registered: September 2004
|
Member |
|
|
hai dudes,
i am developing an application which uses login page.i want to store only the encrypted password into the table rather than the readable form of password(useful for guarding the users account accessing by other people looking into table).is there any oracle's function to do that.I am using oracle 9i.
plz help me
thanks
regards,
Mahesh P
|
|
|
|
Re: encrypt password while inserting into table [message #110761 is a reply to message #33197] |
Thu, 10 March 2005 01:30 |
binzaman
Messages: 30 Registered: March 2005 Location: Lahore
|
Member |
|
|
yup u can encrypt / decrypt by using this command
SELECT TRANSLATE(
'HELLO WORLD', -- Message to encode
'ABCDEFGHIJKLMNOPQRSTUVWXYZ ',
'1234567890!@#$%^&*()-=_+;,.') ENCODED_MESSAGE
FROM DUAL
/
SELECT TRANSLATE(
'85@@%._%*@4', -- Message to decode
'1234567890!@#$%^&*()-=_+;,.',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ ') DECODED_MESSAGE
FROM DUAL
/
|
|
|
|
|