Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Is there a function to encrypt/decrypt password text?

843811Aug 24 2001 — edited Oct 1 2001
Hi !

I'm new to the java.security.*, so I need your help finding a class/function in the Java API useful to encrypt/decrypt some text.

For example:
Username: myTest
Password: myPassword

In this case, "myPassword" is the string used by the user, but the database engine should never use the same password of the application.
So I need a function that I can give the "myPassword" string and return some random encrypted text like "rhb32n9@" which I will use to set the user password for database. Of course, the decrypting process will be useful.

Any help will be appreciated,

Rodolfo

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 29 2001
Added on Aug 24 2001
5 comments
107 views