Fixed #537

Convert to bytes for hmac.compare_digest

Fixes #537