encrypt « XML file « Java I/O Q&A





1. An example of encrypting an xml file in Java using bouncy castle    stackoverflow.com

Can anyone show me (or provide a link to) an example of how to encrypt a file in Java using bouncy castle? I've looked over bouncycastle.org but cannot find any ...

3. Encrypting & Decrypting an XML File using Base64Encoder & Base64Decoder    coderanch.com

Can any one give me a code sample to encrypt & decrypt an xml file I tried this code. It works fine. But not supposed to use sun packages. The URL http://java.sun.com/products/jdk/faq/faq-sun-packages.html says that its risky to use sun packages. So can anyone help in doing encryption in other way. Awaiting reply Thanks in advance. import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; ...

4. problem in encryption of encrypted xml file....    coderanch.com

hi, i have one encrypted xml file which is encrypted using public key... now i want to add some data in that encrypted xml file.. and again i want to encrypt that using another public key... so, can anybody tell me how i can add text in encrypted xml file.... so, i can again encrypt that using public key.. pls, help ...