Ross ROSS = Recommend OSS · open-source software intelligence for agents

scottyab/secure-preferences

Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure. observed · 2026-08-28

github.com/scottyab/secure-preferences · Java · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: archived no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4808
  • days_rel: n/a
  • days_push: 2263
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1518 stars · 230 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

An Android library that wraps SharedPreferences to encrypt stored values with AES-128/CBC and hash keys with SHA-256. It is deprecated in favor of androidx EncryptedSharedPreferences and has no active maintainers.

Use cases

  • encrypt android shared preferences values
  • hide sensitive data in prefs xml file
  • securely store user settings on android
  • obfuscate keys and values in shared preferences
  • add quick security win to android app storage
  • store preferences encrypted with a user password

When to choose

  • maintaining a legacy Android app already using this library
  • needing a drop-in SharedPreferences wrapper on very old Android versions where androidx.security is unavailable

When to avoid

  • starting a new Android project - use androidx.security EncryptedSharedPreferences instead
  • needing strong protection against rooted devices, since the default key is stored in the prefs file
  • requiring actively maintained or supported code

Facets

library · maturity abandoned

security cryptography serialization android-tools security mobile-development shared-preferences encryption deprecated java aes android

1 source

Member repositories

RepositoryRoleHealth v2
scottyab/secure-preferencesmain10

For agents

markdown · JSON · MCP: product_card(name="scottyab/secure-preferences")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem