@Test public void matches() { }
@Override public boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword) { String password = keyStore.decryptString(encodedPassword, Constants.ALIAS_PASSWORD_KEY); return this.updatableBCrypt.verifyHash(rawPassword, password); }
PasswordEncoderImpl implements PasswordEncoder { @Override public boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword) { String password = keyStore.decryptString(encodedPassword, Constants.ALIAS_PASSWORD_KEY); return this.updatableBCrypt.verifyHash(rawPassword, password); } }
PasswordEncoderImpl implements PasswordEncoder { @Override public boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword) { String password = keyStore.decryptString(encodedPassword, Constants.ALIAS_PASSWORD_KEY); return this.updatableBCrypt.verifyHash(rawPassword, password); } PasswordEncoderImpl(CustomPreference customPreference, KeyStore keyStore, UpdatableBCrypt updatableBCrypt); }
PasswordEncoderImpl implements PasswordEncoder { @Override public boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword) { String password = keyStore.decryptString(encodedPassword, Constants.ALIAS_PASSWORD_KEY); return this.updatableBCrypt.verifyHash(rawPassword, password); } PasswordEncoderImpl(CustomPreference customPreference, KeyStore keyStore, UpdatableBCrypt updatableBCrypt); void init(); @Override String encode(@NonNull String rawPassword); @Override boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword); }
PasswordEncoderImpl implements PasswordEncoder { @Override public boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword) { String password = keyStore.decryptString(encodedPassword, Constants.ALIAS_PASSWORD_KEY); return this.updatableBCrypt.verifyHash(rawPassword, password); } PasswordEncoderImpl(CustomPreference customPreference, KeyStore keyStore, UpdatableBCrypt updatableBCrypt); void init(); @Override String encode(@NonNull String rawPassword); @Override boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword);  }