Thank you, Alexander. Your solution is much cleaner.  Your Python Kung Fu
is strong.  :-)

hash = ":".join([hex(h)[2:].upper() for h in hash_bytes])
> print(hash)
> '76:E1:81:9F:AD:F0:6A:55:EF:4B:12:6A:2E:F7:43:C2:BA:E8:A1:51'
>

Thanks, again!

Sincerely,

Gilbert
_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to