Skip to content

JewSaten/NDKSample

Repository files navigation

NDKSample

JNI AES加解密

JNI的两种注册方式比较

使用方法

 String source = "hello world";
 byte[] encodedStr = AESUtils.AESEncode(source.getBytes());
 Log.e(TAG, "encodedStr: " + new String(encodedStr));
 Log.e(TAG, "decodedStr: " + new String(AESUtils.AESDecode(encodedStr)));

结果打印

img2

联系

Releases

No releases published

Packages

No packages published