Calculates 2 LRC bytes of a string as input