v2.1.0
This release introduces support for RSA encryption/decryption. When using RxFingerprint
for encryption and decryption it is now possible to select between AES encryption and RSA encryption which differ in behavior of the fingerprint sensor.
Encrypting values with RSA does not require the user to authenticate with their fingerprint sensor. The authentication step is however still required for decrypting the value.
Encryption and decryption always has to use the same EncryptionMethod
so when migrating from AES to RSA encryption, it is required to encrypt the data again using a new key. All encrypt
/decrypt
methods without the EncryptionMethod
parameter will still use the AES EncryptionMethod
as before.
API Enhancements:
- #50 Add support for RSA encryption.
- #46 Add support for custom log implementations and allow to disable all logging.
The RxFingerprint
class gains 4 additional methods:
encrypt(EncryptionMethod, Context, String, String)
to encrypt with choice ofEncryptionMethod
decrypt(EncryptionMethod, Context, String, String)
to decrypt a value with choice ofEncryptionMethod
setLogger(RxFingerprintLogger)
to set a custom logger implementationdisableLoging()
to disable all logging of RxFingerprint
Dependency changes:
- Update support library to
v25.3.0
- Update RxJava2 to
v2.0.8