Cipher so

Providing a simple way to keep your secure info safe for android app development.

A simple way to encrypt your secure data like passwords into a native .so library.

How it works?

All the key-values will be auto package into a native library during the compile time. Then your can obtain them from the Java interface generated by Cipher so.


Encrypt secure info in a native library via easy configs
Reflection free



Step 1. in the root build.gradle:

Add maven { url '' } resposity and classpath '' dependency into the buildscript:

buildscript {
    repositories {
        maven { url '' }
    dependencies {
        classpath ''
        classpath ''
Step 2. in the app module build.gradle:

Add apply plugin:'' before(VERY IMPORTANT) apply plugin: ''

apply plugin: ''
apply plugin: ''

That's all, is ready to GO.


In your app module build.gradle, add the follow-like configs to save key-values. {
    keys {
        hello {
            value = 'Hello From😊'
        httpsKey {
            value = '[email protected]'
        数据库密码 {
            value = '今天天气不错😂😂'
    encryptSeed = 'HelloSecretKey' //Secret key used for encryption

Then Rebuild to generate the Java Interface.

3. Call In Java/Kotlin

String hello = CipherClient.hello();
String httpsKey = CipherClient.httpsKey();
String dbKey = CipherClient.数据库密码();


  • Encrypt data in .so-lib
  • Prevent dynamic attacks
    • Check Signature
    • More
  • Support different Application varients