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!

Hide keys used for encryption

843811Jan 30 2006 — edited Jan 31 2006
Hi,

My application has an XML file for preferences and I'm encrypting my passwords while storing them in XML. For this I'm using DES algo and hard coding the key value in the file. I want to prevent hardcoding this key value in the source file as this application may go open source. Please suggest me a solution to hide this key value or some better solution for storing encrypted passwords in XML.

Thanks in advance,
Siva.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 28 2006
Added on Jan 30 2006
3 comments
334 views