hi, I want to create public key for AES key encryption is there are direct APIs in symbian thnx in advance. currently i am using the default api.
+1
A:
AES is a symmetric cipher and does not have the notion of public/private keys.
As for the AES key itself, just generate e.g. 256 random bits for AES256. For cryptographically strong random generation, use e.g. CSystemRandom::GenerateBytesL()
. Include random.h
, link against random.lib
.
laalto
2009-05-25 11:18:16
PKCS5padding and CBC cipher mode and init vector(IV) how to achieve in AES in symbian
Sam97305421562
2009-05-26 03:54:26
That's a completely different question from key generation. Please post a new question for that.
laalto
2009-05-26 06:42:52