Fancy! :-)
Python 3:
> ':'.join('%02x' % b for b in s)
>
> Python 2:
> ':'.join('%02x' % ord(b) for b in s)
>
':'.join('%02x'.upper() % b for b in hash_bytes)
Works great! Lot's of fun.
Thanks again,
Gilbert
_______________________________________________ Cryptography-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/cryptography-dev
