Skip to content

Instantly share code, notes, and snippets.

@dinorahto
Created May 24, 2020 05:35
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 dinorahto/62babf265098c3c25634f2e25f0faeb3 to your computer and use it in GitHub Desktop.
Save dinorahto/62babf265098c3c25634f2e25f0faeb3 to your computer and use it in GitHub Desktop.
val encryptedFile = EncryptedFile.Builder(
File(directoryPath, "FileName"),
context,
masterKeyAlias,
EncryptedFile.FileEncryptionScheme.AES256_GCM_HKDF_4KB
).build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment