@Override
    public String toString() {
        return new StringJoiner(", ", AbstractCryptHash.class.getSimpleName() + "[", "]")
                .add("super=" + super.toString())
                .add("algorithmName='" + algorithmName + "'")
                .add("hashedData=" + Arrays.toString(hashedData))
                .add("salt=" + salt)
                .add("hexEncoded='" + hexEncoded + "'")
                .add("base64Encoded='" + base64Encoded + "'")
                .toString();
    }
Simple implementation that merely returns {@link #toHex() toHex()}.

@return the {@link #toHex() toHex()} value.
crypto/hash/src/main/java/org/apache/shiro/crypto/hash/AbstractCryptHash.java