static String maskString(byte[] data) {
        for (int i = 0; i < data.length; i++) {
            if (data[i] < 32 || data[i] > 126) {
                data[i] = '.';
            }
        }
        return new String(data);
    }
dumps a 56 char wide hex string

@param data bytes to dump
@return the hex string
plc4j/spi/src/main/java/org/apache/plc4x/java/spi/utils/hex/Hex.java