Skip to content

Instantly share code, notes, and snippets.

@lordcodes
Created February 16, 2020 21:35
Show Gist options
  • Save lordcodes/0e240dbf3bec354e0cf8c2fe93b33395 to your computer and use it in GitHub Desktop.
Save lordcodes/0e240dbf3bec354e0cf8c2fe93b33395 to your computer and use it in GitHub Desktop.
Code for the article: "Protecting secrets in an Android project"
val encypted = EncryptionEngine().encrypt("raw_secret_value")
Log.d("ENCRYPTED", encypted.base64EncodedString())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment