tree: feb17f36773ee29e84f201ef34305ec5d21ea330 [path history] [tgz]
  1. app/
  2. gradle/
  3. build.gradle
  4. gradle.properties
  5. gradlew
  6. gradlew.bat
  7. README.md
  8. settings.gradle
examples/android/helloworld/README.md

Android Hello World

This is a simple app that allows encrypting and decrypting strings with keys stored in private shared preferences. On Android M or newer the keys are further encrypted with a master key stored in Android Keystore.

It demonstrates the basic steps of using Tink, namely generating or loading key material, obtaining a primitive, and using the primitive to do crypto. It also shows how one can add a dependency on Tink using Gradle.

The easiest way to build this app is to import it to Android Studio. You can also build it from the command line.