rand ints; bitarray enc comparison