Skip to content

Encrypted Preferences with Google Tink: Navigating Android Data Encryption

Notifications You must be signed in to change notification settings

Jaypatelbond/Encrypted-Shared-Preferences

Repository files navigation

Encrypted Preferences Sample App

This sample app demonstrates the difference between using Google Tink for encrypted preferences and traditional Shared Preferences in Android.

Overview

The app showcases how developers can enhance data security in Android applications by implementing Encrypted Preferences using Google Tink. It illustrates the vulnerabilities in Shared Preferences and the robustness of Encrypted Preferences in safeguarding sensitive user data.

Features

  • Shared Preferences: Illustrates the standard use of Shared Preferences for data storage in Android apps.
  • Google Tink Integration: Demonstrates the integration of Google Tink for encrypted preferences, emphasizing enhanced data protection.

Implementation

Shared Preferences

  • Provides a simple implementation of Shared Preferences for data storage.
  • Displays how Shared Preferences work and their limitations regarding data security.

Google Tink - Encrypted Preferences

  • Implements Google Tink for encrypted preferences to showcase heightened data security.
  • Highlights the process of setting up and utilizing Google Tink to secure sensitive information.

Prerequisites

  • Android Studio Giraffe
  • Android SDK

Installation

  1. Clone this repository.
  2. Open the project in Android Studio.
  3. Run the app on an emulator or physical device.
  4. See the Device Explorer shared_pref folder.

License

This project is licensed under the MIT License.

About

Encrypted Preferences with Google Tink: Navigating Android Data Encryption

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages