tags:

views:

204

answers:

1

Hi, PKCS5padding and CBC cipher mode and init vector(IV) how to achieve in AES in symbian I have used CAESEncryptor , CAESBufferedEncryptor are any other options availabl for the same

+2  A: 

CAESEncryptor is good. To use it in CBC mode, use CModeCBCEncryptor and pass the CAESEncryptor object to it as the CBlockTransformation parameter.

For PKCS#5 key derivation, use TPKCS5KDF::DeriveKeyL().

laalto
CRSAPKCS1v15Encrptor class i have used is it the same as PKCS#5 ?
Sam97305421562
No. PKCS#1 v1.5 is a public-key encryption standard. That class is an implementation of it using the RSA algorithm. PKCS#5 is a password-based cryptography standard.
laalto