miller encode works for ints rather than strings
crc calc works for ints