As a reference and as a continuation of the publication: how to use OpenSSL to decrypt AES data with Java encryption?
I have the following questions.
I use OpenSSL libraries and C programming to encrypt data in aes-cbc-128. I have been given any input binary data, and I have to encrypt it.
I find out that Java has a CipherParameters interface for setting IV and KeyParameters.
Is there a way to generate IV and key using openSSL? In short, how can you use C to call a random openSSL generator for these purposes. Can any of you provide some documents / examples / links to this?
thanks
source share