09-01-2013 10:28 PM
Hi, I need an example of RSA implementation.
As the web page shows i need the implementation of:
3. hu_RSAPublicEncrypt / hu_RSAPrivateEncrypt
I can't get those classes to work.
I made this process works in Javascritp, but now i need someting similar in QT C++
var rsa= new RSAKey(); rsa.readPrivateKeyFromPEMString(pk); var hSig=rsa.signString(s,"md5"); return hex2b64(hSig);
Please, any help will be welcome!
Solved! Go to Solution.
09-02-2013 08:20 AM
I don't have examples of using these RSA functions to hand, but I think you should be able to see how to use them if you read the KB article: http://supportforums.blackberry.com/t5/Native-Deve
This uses the same crypto framework and the different use cases require very similar code.
The Security Builder User Guide is the other place to look:
Hope this helps.
09-02-2013 09:56 AM
Thanks for your help, that was my point to start, but RSA uses more complex function I think.
Now i'm checking an AES demo at https://github.com/blackberry/Cascades-Community-S
This example uses some similar functions.
10-22-2013 11:37 AM
I'm planning on adding RSA functionality to my AESCrypto sample.
The name of the sample isn't going to make much sense anymore... but that's my plan...