Feed hmac with byte objects

Using encode() to convert string to byte object