BruceWind / CryptoPPInNDK

A repo for hiding encrypt algorithm working with CryptoPP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CryptoPPWithNDK

中文

Background

Although encrypting algorithms exist in Java, you cannot conceal them by Proguard due to java imports.

Approach

This repository provides a method for hiding your algorithms: C++ encoding. Therefore, you should not worry about the exposure of your algorithms. It uses Crypto++ 5.6.2 to fulfil the hidden algorithm requirements.

Build & Test

git clone git@github.com:BruceWind/CryptoPPInNDK.git
cd CryptoPPInNDK && git lfs pull
sh ./build_and_push.sh
adb shell
>$: cd /data/local/
>$: ./main

// looking for logs.

Before running this shell, you must connect an android emulator in advance.

In addition

The repo was written so early that it could go wrong in case of building with a new version of NDK. You may need to build with NDK 13/14/16.

Be careful with git clone, I've used git lfs to store *.a files.


Thanks

Crypto++ for android - Official Page

weidai11/cryptopp

About

A repo for hiding encrypt algorithm working with CryptoPP.


Languages

Language:C++ 93.3%Language:C 6.5%Language:Shell 0.1%Language:Makefile 0.1%