int8Array(arr1.byteLength + arr2.byteLength);
            newArr.set(arr1, 0);
            newArr.set(arr2, arr1.byteLength);
            return newArr;
        },
        bigIntegerToByteArray: function (bigInt) {
            return util.hexToByteArray(bigInt.toString(16));
        },
        secureRandom: function (count) {
            var nativeArr = new Uint8Array(count);
            window.crypto.getRandomValues(nativeArr);
            for (var i = 0; i < nativeArr.length; i++) {
                if (na