Skip to content

A repo for hiding encrypt algorithm working with CryptoPP.

Notifications You must be signed in to change notification settings

BruceWind/CryptoPPInNDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages