1
0
mirror of git://f0xx.org/ac/ac-mobile-android synced 2026-07-29 09:19:35 +03:00
Files
ac-mobile-android/ndk/obfuscate/README.md
Anton Afanasyeu 8675c2df3a initial
2026-06-23 12:30:10 +02:00

9 lines
463 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Entitlements obfuscation (C)
Shared by `libandroidcast_entitlements.so` and the archived spike under `reference-design/obfuscate_entitlements/`.
- `encode` / `decode` — 40-bit payload + 24-bit verification tag, keyed by per-account `uint64_t` **key** (not wall clock).
- `write_to` / `read_from` — file layout: 32-bit dummy header, N×uint64_t payloads, 32-bit dummy tail.
Reference demo: `tmp/obfuscate_test/` (standalone; not wired into the main app).