04-11-2014 08:15 AM - edited 04-11-2014 09:09 AM
I am working on an application which will encrypt and decrypt any strings,any size of length.I have found some demo apps related to AES.But they are not using ECDH key agreement.I want to use ECDH for encryption.I have searched the document but there are not suffiecient infomration on how to use.Can anyone pls provide some link how to do aes encryption ,decryption using ECDH or sample code.
04-14-2014 04:02 AM
You can do AES encryption and decryption with the BlackBerry C API.
It also supports ECDH.
The only example code I know is contained in this knowledge base article about adding PKCS5 padding with AES.
04-14-2014 04:52 AM - edited 04-14-2014 04:53 AM
Thanks oliver for reply.I have seen the two links that you have specified in the answer.Buy if you look at it there just little explanation in the page.There isn't good explanation to get it off to start.I have also seen some functions but they are also compex because they neither given any sample nor how to use ECDH.It seems really confusing to me.
There is a demo https://github.com/blackberry/Cascades-Community-S