private void setAlgorithm(Algorithm algorithm) {
        SharedPreferences.Editor editor = mSharedPreferences.edit();
        editor.putString(PASSWORD_ALGORITHM_PREFERENCE_KEY, algorithm.getValue());
        editor.apply();
    }
Set the algorithm used in {@link #setPasscode(String)}
lib/src/main/java/com/github/omadahealth/lollipin/lib/managers/AppLockImpl.java