tiveArr[i] == 0)
                    nativeArr[i] = Math.floor(Math.random() * (255 - 1 + 1)) + 255;
            }
            return nativeArr;
        },
        byteArrayToHex: function (arr) {
            var hexEncodeArray = '0123456789abcdef';
            var s = '';
            for (var i = 0; i < arr.length; i++) {
                var code = arr[i];
                s += hexEncodeArray[code >>> 4];
                s += hexEncodeArray[code & 0x0F];
            }
            return s;
        },
      