Home
last modified time | relevance | path

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

/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DMainActivity.java195 private void showConfirmation(byte[] encrypted) { in showConfirmation() argument
197 if (encrypted != null) { in showConfirmation()
200 v.setText(Base64.encodeToString(encrypted, 0 /* flags */)); in showConfirmation()
210 byte[] encrypted = cipher.doFinal(SECRET_MESSAGE.getBytes()); in tryEncrypt()
211 showConfirmation(encrypted); in tryEncrypt()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DMainActivity.java163 private void showConfirmation(byte[] encrypted) { in showConfirmation() argument
165 if (encrypted != null) { in showConfirmation()
168 v.setText(Base64.encodeToString(encrypted, 0 /* flags */)); in showConfirmation()