<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 2 March 2015 at 12:58, Andrew Gibiansky <span dir="ltr"><<a href="mailto:andrew.gibiansky@gmail.com" target="_blank">andrew.gibiansky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Is the signature supposed to be in any way readable? I am getting something like</div><div><br></div><div>\xf6\xd9hV\xea\xa0\xe1\x9cV\x9f"\xa5\x04\x8f\x87\x05\xd4=\xde\x04V4\xcc\x9eo\xcc/\x10\x92\x16I\x0f<br></div><div></div></blockquote></div><br></div><div class="gmail_extra">That's the raw bytes; you need to get the hex digest. In Python, an HMAC object has methods .digest() and .hexdigest(), and we use the latter. If there isn't an explicit way to get the hex digest, translating the bytes to hex should work.<br><br></div><div class="gmail_extra">Thomas<br></div></div>