How do I implement AES encryption with the java bouncy castle library? Example code or a link to example code would be nice 🙂
How do I implement AES encryption with the java bouncy castle library? Example code
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you download the bcprov source, you’ll see the class
org.bouncycastle.jce.provider.test.AESTest. It shows you how to set up the bouncyCastle provider, create encryption and decryptionCipherobjects, set upCipherOutputStreams and call the write methods on those streams.Edit:
seems like link is broken. Look here for AESTest