RSA algo in symbian C ++

I have implemented the symbian RSA algorithm using the class

CRSAPublicKey and CRSAPKCS1v15Encryptor

Here's how to do it to implement encryption

0


a source to share


1 answer


With encryption, the devil is in the details.

There are many ways to avoid erroneous encryption. For example, with RSA you need to use an add-on, or a number of simple attacks become possible. Even if you do get add rights (which, if you use CRSAPKCS1v15Encryptor correctly, probably will), you need to protect yourself from replay attacks and find a way to obtain a trusted key. Or you could package the comparison at the end like Nintendo did .



Instead of asking how to do RSA, you need to consider the entire context of what you are trying to do. What are you using RSA for, and how do you use it?

+1


a source







All Articles