Key generation AES encryption symbian
1 answer
AES is a symmetric cipher and has no concept of public / private keys.
As for the AES key itself, just generate eg. 256 random bits for AES256. For cryptographically strong random generation, for example, is used CSystemRandom::GenerateBytesL()
. Include random.h
, link to random.lib
.
+2
a source to share