How do i add openssl library in android studio? [closed]

本小妞迷上赌 提交于 2020-06-01 05:36:06

问题


I want to implement AES and RSA encryption in my project using ndk(not using java API).by brief study i coming to know that i need to add openssl for achieving my task. i downloaded library from here openssl. but that contains plenty of files. i am confused what to do with that.is there anything i need to do to use library or is there any better approach other than openssl. please help me. i am using ubuntu 16.04 LTS 64 bit system.


回答1:


If you are looking for a script to build the Android libs, you should not look further than the official site: wiki.openssl.org/index.php/Android. You can easily find prebuilt binaries, if you can afford this security compromise.

You may prefer the Chromium fork (https://opensource.google.com/projects/boringssl) which is not 100% plug-and-play compatible with the upstream, but has been tuned for the needs and limitations of Android app, and is pretty well documented.



来源:https://stackoverflow.com/questions/47427551/how-do-i-add-openssl-library-in-android-studio

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