Part of twisted.python View Source
twisted.python.hashlib
presents a subset of the interface provided by hashlib. The subset is the interface required by various
parts of Twisted. This allows application code to transparently use APIs
which existed before hashlib
was introduced or to use
hashlib
if it is available.