Using hexdigest instead of digest to encode text data.