Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to encrypt data using AES in Java

I wish to encrypt a piece of data using AES (cbc) in java , I Want to use my own IV, which I have held in a byte array and my own key held in a byte array.

How would I go about doing this?

I'm searching for it to find tutorials on this topic.

like image 743
molleman Avatar asked Feb 24 '11 18:02

molleman


1 Answers

This is probably the best guide that I've found on the subject. It explains the basics, one concept at a time, in simple terms.

like image 189
Dylan Knowles Avatar answered Oct 19 '22 15:10

Dylan Knowles