Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Bouncy Castle implementation on ehs6 | Telit Cinterion IoT Developer Community

May 23, 2017 - 2:23pm, 7222 views

Hi Everyone!

I am trying to implement bouncy castle-s encryption/decryption methods on ehs6, following this tutorial:

http://www.itcsolutions.eu/2010/12/28/how-to-encrypt-decrypt-with-aes-fr...

http://www.itcsolutions.eu/2010/09/03/how-to-use-bouncy-castle-lightweig...

I use the latest  lcrypto-j2me-157 packet downloaded from:

http://www.bouncycastle.org/latest_releases.html

I use Eclipse. The project compiles successfully and starts on ehs6 module, but when the encrzpter constructor is called:

AES_BC encrypter = new AES_BC();

the module freezes. I tried oldere bouncy castle versions also, different encoding, the result is allways the same.

Did anybody successfully implemented Bouncy Castle on ehs6 module? Example maybe?

Thank you in advance.

Endre