Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为 AES 密钥加密创建公钥,是否提前在 symbian thnx 中有直接 API。目前我正在使用默认的 api。
AES 是一种对称密码,没有公钥/私钥的概念。
至于 AES 密钥本身,只需为 AES256 生成例如 256 个随机位。对于加密的强随机生成,请使用例如CSystemRandom::GenerateBytesL(). 包括random.h,链接反对random.lib。
CSystemRandom::GenerateBytesL()
random.h
random.lib