Why encode to ascii if you're gonna unhexlify()? 
```python
unhexlify(hexmsg.encode("ascii")) == unhexlify(hexmsg)
``` 
evaluates to ``True``