Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: [Help]: Looking for password crypt/decrypt function
damita wrote:
>
>
>
> If youre just trying to encrypt user defined (not oracle login passwds)
> passwords
> try some form of: TRANSLATE(str,from,to)
>
> use same function (in reverse offcourse) to decrypt passwd.
>
> this mebbe too simple for you application, mebbe your needs call for a more
> complex algorithm.
>
> cheers
> --
> Damita Wijay db-eh?
> Magardi Inc
> Ottawa Canada
>
> ngreene_at_my-dejanews.com wrote:
>
> > Does anyone have a password crypt/decrypt function that can be used like the
> > one in mySQL? I need to store encrypted passwords in an Oracle database and
> > need a way to decrypt them as well.
> >
One easy way is:
The nice thing with this algorithm is that the encrypt and decrypt functions are the same...ie, re-encrypt the encrypted code to decrypt it...
Cheers
--