// the find
commonsguy/cwac-saferoom
CWAC-SafeRoom: A Room<->SQLCipher for Android Bridge
SafeRoom was a bridge library that let Android Room use SQLCipher as its backing database instead of plain SQLite, enabling transparent encryption. It's now retired — SQLCipher for Android ships its own SupportSQLite implementation, making this redundant. If you're starting fresh, go straight to SQLCipher's official Room integration.
The passphrase handling is done carefully — char arrays instead of Strings to allow explicit memory clearing, which most tutorials get wrong. Test suite is unusually thorough for a bridge library: covers WAL mode, rekeying, migration from plaintext to encrypted, and close/reopen cycles. SQLCipherUtils includes utilities for encrypting an existing plaintext database in-place, which is genuinely useful and not obvious to implement correctly.
Abandoned since January 2020 and explicitly retired by the author — the README tells you to go elsewhere. Any Room version compatibility beyond what was current in early 2020 is untested and likely broken. The official SQLCipher integration has moved on; there's no practical reason to adopt this over the supported alternative.