Jetpack Security

Learn how to use the AndroidX Jetpack Security library for managing security keys and encrypting file and preferences data. By Joe Howard.

Leave a rating/review
Save for later

Who is this for?

Intermediate Android developers looking to understand how to make their user data more secure via encryption.

Covered concepts

  • Key generation
  • Encrypted SharedPreferences
  • File encryption
  • Advanced encryption
  • The Biometric Library
Toggle description

Learn about the need for the Jetpack Security library, which unifies and simplifies the use of encryption in Android apps.

Toggle description

Explore the starter project for the course, which includes all the necessary UI code and resources for the sample project.

Toggle description

See how to set up and use encrypted shared preferences, including encryption of both the keys and values.

Toggle description

Create a function that will give you access to an EncryptedFile, using an API similar to that for accessing EncryptedSharedPreferences.

Toggle description

Write data into an EncryptedFile, read data back in from the EncryptedFile, and alert the user when there are read or write errors.

Toggle description

Specify the use of advanced encryption for accessing the file system, including the use of the Android StrongBox KeyStore.

Toggle description

Use the AndroidX Biometric library to create a fingerprint prompt, adding an extra layer of security to accessing encrypted data.