Home
last modified time | relevance | path

Searched refs:isEncrypt (Results 1 – 1 of 1) sorted by relevance

/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DBrokenKeyDerivationActivity.java158 byte[] data, SecretKey key, byte[] iv, boolean isEncrypt) { in encryptOrDecrypt() argument
161 cipher.init(isEncrypt ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE, key, in encryptOrDecrypt()