Skip to content

Latest commit

 

History

History

Keystore-Example

README.md

Example of encryption using Keystore

Description

This project shows an example of how to use the Android Keystore to encrypt and decrypt String values.

See full example in CryptoToolboxImpl class

How to use the project

The project was tested on Android 14. Use latest Android Studio version

Structure of the project

CryptoToolbox

Interface for a CryptoToolbox

CryptoToolboxImpl

Implementation of CryptoToolbox. Use it as it seems fit

EncryptionException

An exception class to use in CryptoToolbox