I had found bcprov-ext-jdk16-145.jar and bcprov-jdk16-145.zip. I wish to use the IDEA encryption to encrypt XML, but i haven't found any sample of coding in JAVA. Can anyone tell me how to call the methods in org.bouncycastle.jce.provider.symmetric.* to do the IDEA encryption and decryption or where can find sample code? Thank you all.
Tell me more
×
IT Security Stack Exchange is a question and answer site for
IT security professionals. It's 100% free, no registration required.
|
|
BouncyCastle is a standard JCE provider, so most Java crypto code will work just fine. You just need to add the provider to java.security... security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider I'd recommend using something like OWASP ESAPI instead of using the crypto API directly. |
|||
|
|
|
I don't have special IDEA sample code, but there are some samples on the net for symmetric encryption with bouncy castle. Try this one from the book Beginning Cryptography with Java. |
|||
|
|