• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
13You can download tink-java source with:
14
15```shell
16git clone https://github.com/tink-crypto/tink-java
17```
18
19The easiest way to build this app is to import it to [Android Studio](https://developer.android.com/studio/). You can
20also
21[build it from the command line](https://developer.android.com/studio/build/building-cmdline).
22