xref: /aosp_15_r20/external/tink/java_src/examples/android/helloworld/README.md (revision e7b1675dde1b92d52ec075b0a92829627f2c52a5)
1# Android Hello World
2
3This is a simple app that allows encrypting and decrypting strings
4with keys stored in private shared preferences. On Android M or newer
5the keys are further encrypted with a master key stored in Android
6Keystore.
7
8It demonstrates the basic steps of using Tink, namely generating or
9loading key material, obtaining a primitive, and using the primitive
10to do crypto. It also shows how one can add a dependency on Tink
11using Gradle.
12
13The easiest way to build this app is to import it to Android Studio. You can
14also
15[build it from the command line](https://developer.android.com/studio/build/building-cmdline).
16