I'm using the openssl crypto lib first time and I don't know how to encrypt
text larger than blocksize (16 byte) .
For example I want to encrypt a string of size 292 bytes. I call
EVP_EncryptUpdate () one time and 288 bytes will be encrypted and finally I
call  EVP_EncryptFinal_ex().
Do I really encrypt the whole string correctly? Or do I have to call
EVP_EncryptUpdate () for every
blocksize chunk of my string?
How large is the encrypted string? I would expect 304 bytes (288 + 16). Is
this correct?
Rudy1

-- 
View this message in context: 
http://old.nabble.com/AES128-CBC-tp29170995p29170995.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

Reply via email to