# BruceWind/AESJniEncrypt

🛡 Make safest code in Android. (基于libsodium实现chacha20算法,key在native中,防止被二次打包){长期维护,请star,勿fork}

Repository: https://github.com/BruceWind/AESJniEncrypt
Canonical: https://ross.abutalabs.com/products/aesjniencrypt
Language: C
License: NOASSERTION
License Family: other
Topics: ndk, obfuscator, signature-verification, android, cmake, security, chacha20, chacha20-poly1305, aes, chacha-poly1305, libsodium, encryption, decryption
Last push: 2024-01-05T13:39:18+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3561, "days_push": 971, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1010, forks 165 (observed 2026-08-28T04:03:12.937570+00:00)

## What it is
An Android NDK library that implements ChaCha20-Poly1305 encryption via libsodium, with keys hidden in native code to resist reverse engineering. It adds signature verification, anti-debugging, emulator detection, and C code obfuscation to prevent repackaging attacks.

## Use cases
- hide encryption keys in native code on android
- prevent apk repackaging and second-packing
- encrypt sensitive data with chacha20 in android app
- add signature verification to android jni methods
- protect android app against reverse engineering
- detect emulators and debuggers at runtime in android

## When to choose
- you need to protect cryptographic keys from extraction in an Android app
- you want anti-tampering measures like signature verification and anti-debugging bundled together
- you prefer ChaCha20 performance on ARM over AES

## When to avoid
- you need a simple, portable encryption library without native code
- your target platform is not Android
- you require AES specifically (deprecated in current versions)
- you need a permissively licensed dependency (license is non-standard)

## Facets
- artifact type: library
- maturity: active
- function: cryptography, security
- domain: security, mobile-development, android-tools
- platform: cpp, c
- tags: ndk, libsodium, chacha20, jni, anti-tampering, obfuscation, app-hardening, android

## Member repositories
- BruceWind/AESJniEncrypt (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.937570+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:54.263527+00:00, confidence not recorded.
  - readme: https://github.com/BruceWind/AESJniEncrypt (fetched 2026-08-28T04:03:12.937570+00:00, sha 26c8120098e4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
