(comb, length, result) {
				// step 0: Set an 8-bit register to 0
				var reg = 0;

				// then for each data bit, starting from LSB:
				for (var i = 0 ; i < length ; i++) {
					var lsbData = comb & 1;
					var lsbReg = reg & 1;

					// step 1: XOR the current data bit with the LSB of the 8-bit register
					var xor = lsbData ^ lsbReg;
					// step 2: shift the register right one bit
					reg = reg >> 1;
					// step 3: if the result of step 1 was '1' then we XOR with 10000011, otherwise do nothing
				