AES Encryption Blackberry

旧时模样 提交于 2019-12-11 18:57:52

问题


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());
    }

来源:https://stackoverflow.com/questions/25862812/aes-encryption-blackberry

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!