class PasswordSecurity implements Reloadable {

    public boolean comparePassword(String password, String playerName) { // TODO YN POINTER
        HashedPassword auth = dataSource.getPassword(playerName);
        return auth != null && comparePassword(password, auth, playerName);
    }

    public  PasswordSecurity(Map<String, HashedPassword> storage, EncryptionMethod encryptionMethod);

}