Home
last modified time | relevance | path

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

/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DMainActivity.java161 private boolean initCipher(Cipher cipher, String keyName) { in initCipher() argument
165 cipher.init(Cipher.ENCRYPT_MODE, key); in initCipher()
208 private void tryEncrypt(Cipher cipher) { in tryEncrypt() argument
210 byte[] encrypted = cipher.doFinal(SECRET_MESSAGE.getBytes()); in tryEncrypt()
290 PurchaseButtonClickListener(Cipher cipher, String keyName) { in PurchaseButtonClickListener() argument
291 mCipher = cipher; in PurchaseButtonClickListener()
/development/samples/browseable/ConfirmCredential/src/com.example.android.confirmcredential/
DMainActivity.java103 Cipher cipher = Cipher.getInstance( in tryEncrypt() local
109 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in tryEncrypt()
110 cipher.doFinal(SECRET_BYTE_ARRAY); in tryEncrypt()
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DBrokenKeyDerivationActivity.java160 Cipher cipher = Cipher.getInstance("AES/CBC/PKCS7PADDING"); in encryptOrDecrypt() local
161 cipher.init(isEncrypt ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE, key, in encryptOrDecrypt()
163 return cipher.doFinal(data); in encryptOrDecrypt()
/development/tools/winscope/
Dyarn.lock948 cipher-base "^1.0.0"
954 browserify-cipher@^1.0.0:
956 …resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b87…
968 cipher-base "^1.0.1"
1169 cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
1171 …resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f9…
1453 cipher-base "^1.0.1"
1464 cipher-base "^1.0.3"
1493 browserify-cipher "^1.0.0"