hi all, i would like to develop a application in java that is used to encrypt and decrypt the java source code files.any help that would be appreciated..
By
srinivaas :)
Printable View
hi all, i would like to develop a application in java that is used to encrypt and decrypt the java source code files.any help that would be appreciated..
By
srinivaas :)
Do you just want a general encryption and decryption support that will work on any files? There are some classes with good algorithms in the java.security package.
You may want to go through Java's built in security classes before looking elsewhere. Try the following link:
http://java.sun.com/javase/6/docs/te...ryptoSpec.html
The cipher part is here:
http://java.sun.com/javase/6/docs/te...ec.html#Cipher
Are you talking about obfuscation of your code so that it cannot be reconstructed just by a code inspector? Do a search using your favorite search engine for "java code obfuscator" and you should find many references which will help you design a system to protect your source code.
DevX has published a couple of articles that discuss the Java Cryptography Extension (JCE), which may be helpful to you.
Encrypt Sensitive Configuration Data with Java
http://www.devx.com/Java/10%20Minute%20Solution/21385/0
Managing XML Encryption with Java
http://www.devx.com/xml/Article/28701/0
I hope that helps.
Regards,
Glen Kunene