private boolean initCipher() {
        try {
            if (mKeyStore == null) {
                mKeyStore = KeyStore.getInstance("AndroidKeyStore");
            }
            createKey();
            mKeyStore.load(null);
            SecretKey key = (SecretKey) mKeyStore.getKey(KEY_NAME, null);
            mCipher = Cipher.getInstance("AES/CBC/PKCS7Padding");
            mCipher.init(Cipher.ENCRYPT_MODE, key);
            return true;
        } catch (NoSuchPaddingException | KeyStoreException | CertificateException | UnrecoverableKeyException | IOException
                | NoSuchAlgorithmException | InvalidKeyException e) {
            return false;
        }
    }
Initialize the {@link Cipher} instance with the created key in the {@link #createKey()}
method.

@return {@code true} if initialization is successful, {@code false} if the lock screen has
been disabled or reset after the key was generated, or if a fingerprint got enrolled after
the key was generated.
lib/src/main/java/com/github/omadahealth/lollipin/lib/managers/FingerprintUiHelper.java