Skip to content

Instantly share code, notes, and snippets.

@shafty023
Created June 9, 2020 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shafty023/99d49879298d49a350ce3255b9882e96 to your computer and use it in GitHub Desktop.
Save shafty023/99d49879298d49a350ce3255b9882e96 to your computer and use it in GitHub Desktop.
Container for everything needed to decrypt db
/**
* Container for everything needed for decrypting the database.
*
* @param iv initialization vector
* @param key encrypted database key
* @param salt cryptographic salt
*/
data class Storable(val iv: String, val key: String, val salt: String)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment