need to encode, so MD5 can be calculated on bytes