hey guys, i haven't found a forum for encryption in
java, So i must ask for you guys, that have always helped me in java issues.
as we know, java have a Cryptography extension (JCE), and it has probably the tools I need for this.
the fact is that, I need to connect in a database, but this database changes on each costumer that uses my system, and I needed only one class to do it on every costumer.
My solution was creating a txt file named dblogin.cfg, that carry this structure:
but the fact is that I can't leave user and password information like this in the file, because that would make the security of my system to go several steps down.
So I need a (two way?) encrypting algorithm, that can store a encrypted
string generated by a public key, that can only be read from a private key, that would be used from my class to read that string, growing the security of the system at all.
Would you guys help me on this "journey"?
What have I already done:
I talked to the developing manager of our system, and he thinks it is a good idea to use IDEA
(got it? idea, IDEA ), but I have no notion about how to use it in java.
I've read some parts of
this to have the understanding I need to do it, but I got no good results.
anyone?