I\'m following the ConfirmCredential Android example provided by Google, but it only shows how to encrypt the data. When I try to decrypt it I get exception:
ja
How about this,
mCipher.init(Cipher.DECRYPT_MODE, key, mCipher.getParameters());
If you use the sample code from Google repo, above line will work, also note, for every mChiper.init we need to authenticate with fingerprint once, that means two fingerprint auth is required, one for encryption and one for decryption.
https://github.com/googlesamples/android-FingerprintDialog