Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: need help...I'm new.
|
Posted: Apr 8, 2003 7:26 PM
|
|
As I asked before, do you want real encryption or just a little obfuscation?
To get a little obfuscation, you can XOR the things together (and throw in a little junk for good measure). This hardly qualifies as encryption, but it makes it a little hard to read with the human eye. If you want this, let me know and I'll post a little example.
You could also do a rot13 or the like, which is even weaker than the above, because most experienced programmers could immediately recogonise that it is rot13 (or a similar variant with shifting of values, etc.) just by looking at it.
To get something stronger you could use the RC4 algorithm. You can find textual descriptions for this thing easily on the net (with Google, etc.); these can be used to write the code that does it. You might even be able to find the thing implemented in Java already (I haven't searched).
|
|