posted 20 years ago
I read this in one of the post.
To connect to the database I need to have a user/passowrd.
At the moment I have a properties file with username/passowrd as entries.
So what the question is I should encrypt the username/password for sure.
Now I get overwhelmed in my options.
What is the best way to encrypt/decrypt these.
I need a simple encryption so when we create the properties file I have the ecrypted value.
Then in the code need to do the decryption.
Is there a example of this in the book. Seems like a common problem.