◐ Shell
clean mode source ↗

Message 47783 - Python tracker

Logged In: YES 
user_id=593130

Re Doc page: As a somewhat naive (relative to the subject) 
reader, the title and first sentence implied that 'secure hash' 
and 'message digest' are two separate things, whereas, judging 
from the .digest() blurb, they both seem to be16-byte hashes.  
So I would prefer this equivalence and the actual meaning were 
made clear at the top.  Something like "This module implements a 
common interface to several secure hash or message digest 
algorithms that produce 16-byte hashes."

If, as I presume, xx.hexdigest() == binascii.hexlify(xx.digest()), 
then I would say so and reference binsacii for the 
interconversion functions one would need if one had the two 
versions to compare or needed to convert after the extraction.