Harmony Crypto: Multi-process Encrypted SharedPreferences

This page summarizes the projects mentioned and recommended in the original post on /r/androiddev

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Harmony

    Multi-process SharedPreference implementation without ContentProvider (by pablobaxter)

  • Harmony is a process-safe, thread-safe SharedPreferences implementation. It uses no ContentProviders, Services, Messengers, etc. It's strictly file based and conforms to the SharedPreferences interface (mostly... see https://github.com/pablobaxter/Harmony/issues/14).

  • Tink

    Discontinued Tink is a multi-language, cross-platform, open source library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.

  • Also, given that Google used Tink for Encrypted SharedPreferences, I had to make some modifications there to allow proper usage of Harmony Crypto. The problem I ran into was that Tink used Android SharedPreference to store keys, but didn't allow for any SharedPreference object to be passed in, which meant that Tink was not process safe. That led to making this PR (https://github.com/google/tink/pull/493), but working around the problem for the meantime by creating custom classes within the Tink package space to be used in the Harmony Crypto project.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts