@Override
    public String generate(@Sensitive char[] password) {
        byte[] salt = generateSalt(generateSaltSize);
        byte[] outputBytes = generate(SUPPORTED_ALGORITHMS.get(generateAlgorithm), generateIterations, generateKeySize, salt, password);
        return format(SUPPORTED_ALGORITHMS.get(generateAlgorithm), generateIterations, salt, outputBytes);
    }
@ Override public String generate ( @ Sensitive char [ ] password ) { byte [ ] salt = generateSalt ( generateSaltSize ) ; byte [ ] outputBytes = generate ( SUPPORTED_ALGORITHMS . get ( generateAlgorithm ) , generateIterations , generateKeySize , salt , password ) ; return format ( SUPPORTED_ALGORITHMS . get ( generateAlgorithm ) , generateIterations , salt , outputBytes ) ; }
/*
(non-Javadoc)