0

I am basically and android Developer and as per project requirement i need to develop in blackberry. My task is AES encryption of simple text like HELLO.

What i did:
I used this LINK but as a result i am getting java.lang error in simulator

What i want:
Kindly Suggest me a way to avoid this error. and sample for AES encryption working sample in Blackberry;

My approach is following:

 String mystr = "HELLO";
try
    {
        String str = AES.AESEncryption(mystr.getBytes());
        System.out.print(str);
    }
    catch (Exception e)
    {
        e.printStackTrace();
        System.out.print(e.toString());
    }
Community
  • 1
  • 1
Noman
  • 4,049
  • 10
  • 38
  • 59

0 Answers0