Created
October 29, 2016 09:52
-
-
Save flschweiger/037807532097e6e8cf0ec4c2b2098b8d to your computer and use it in GitHub Desktop.
Adding authentication.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
builder | |
.setKeySize(256) | |
.setBlockModes(KeyProperties.BLOCK_MODE_CBC) | |
.setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_PKCS7) | |
.setUserAuthenticationRequired(true) | |
.setUserAuthenticationValidityDurationSeconds(30); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment