((str, byte) => str + byte.toString(16).padStart(2, "0"), "");
        }

        function textToHex(text) {
            var encoder = new TextEncoder().encode(text);
            return [...new Uint8Array(encoder)]
                .map(x => x.toString(16).padStart(2, "0"))
                .join("");
        }

        function createQR(content) {
            let dataUriPngImage = document.createElement("img"),
                s = QRCode.generatePNG(content, {
                    ecclevel: "M",
             