Returns the barcode string with the correct checksum
String normalize(String data) => checkLength( data.padRight(minLength, '0').substring(0, minLength), maxLength);