private String generateSalt() {
        byte[] salt = new byte[KEY_LENGTH];
        try {
            SecureRandom sr = SecureRandom.getInstance("SHA1PRNG");
            sr.setSeed(System.currentTimeMillis());
            sr.nextBytes(salt);
            return Arrays.toString(salt);
        } catch (Exception e) {
            salt = DEFAULT_PASSWORD_SALT.getBytes();
        }
        return Base64.encodeToString(salt, Base64.DEFAULT);
    }
Static method that allows to get back the current static Instance of {@link AppLockImpl}

@param context       The current context of the {@link Activity}
@param activityClass The activity extending {@link AppLockActivity}
@return The instance.
lib/src/main/java/com/github/omadahealth/lollipin/lib/managers/AppLockImpl.java