add string-byte convertor for testing

compare line by line first, find the different lines and convert them
into byte. currently not using hash code generator, need to figure out a
good way to implement it.