Christian Heimes added the comment:

That's to be expected. HMAC and all cryptographic hashing algorithms work with 
bytes only. Text (unicode) is neither specified by the standards nor supported. 
You have to convert your text to bytes with some encoding (e.g. ASCII or UTF-8).

----------
components: +Library (Lib) -None
nosy: +christian.heimes
resolution:  -> wont fix
status: open -> pending

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16063>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to