Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,

I have a server-returned shared secret that's encrypted with AES. I noticed BREW 3.x supports AES through ICipherFactory. But AES is not supported in BREW 2.x. Openssl contains strong crypto library (e.g. AES) and I want to incorporate Openssl AES cryoto library into my BREW 2.x project. How do I do that? Please be as specific as you can.

Thanks.

mzichao wrote:Hi,
I have a server-returned shared secret that's encrypted with AES. I noticed BREW 3.x supports AES through ICipherFactory. But AES is not supported in BREW 2.x. Openssl contains strong crypto library (e.g. AES) and I want to incorporate Openssl AES cryoto library into my BREW 2.x project. How do I do that? Please be as specific as you can.
Thanks.
you can either port the AesEngine in Bouncy castle into C, which is in java, without much effort.
then use that c file in your program to do the AES Encryption...

mzichao wrote:Hi,
I have a server-returned shared secret that's encrypted with AES. I noticed BREW 3.x supports AES through ICipherFactory. But AES is not supported in BREW 2.x. Openssl contains strong crypto library (e.g. AES) and I want to incorporate Openssl AES cryoto library into my BREW 2.x project. How do I do that? Please be as specific as you can.
Thanks.
you can either port the AesEngine in Bouncy castle into C, which is in java, without much effort.
then use that c file in your program to do the AES Encryption...

dumparun wrote:you can either port the AesEngine in Bouncy castle into C, which is in java, without much effort.
then use that c file in your program to do the AES Encryption...
Hi, dumparun. Thank you for your reply. Since you mentioned porting AESEngine BouncyCastle from Java to C, it sounds like you've done that already. Could you share it with the forum?
Thanks.

dumparun wrote:you can either port the AesEngine in Bouncy castle into C, which is in java, without much effort.
then use that c file in your program to do the AES Encryption...
Hi, dumparun. Thank you for your reply. Since you mentioned porting AESEngine BouncyCastle from Java to C, it sounds like you've done that already. Could you share it with the forum?
Thanks.