\Tc@sdZdZeZedZd Zd Zd d Zd d ZyddlZeZ eZ Wne k reZ eZ nXxUeD]MZ ye e e e >> import hashlib >>> m = hashlib.md5() >>> m.update("Nobody inspects") >>> m.update(" the spammish repetition") >>> m.digest() '\xbbd\x9c\x83\xdd\x1e\xa5\xc9\xd9\xde\xc9\xa1\x8d\xf0\xff\xe9' More condensed: >>> hashlib.sha224("Nobody inspects the spammish repetition").hexdigest() 'a4337bc45a8fc544c03f52dc550cd6e1e87021bc896588bd79e901e2' tmd5tsha1tsha224tsha256tsha384tsha512tnewt algorithmscCsy|dkr"ddl}|jS|dkrAddl}|jS|dkrddl}|d }|d krv|jS|d kr|jSnK|dkrddl}|d }|dkr|jS|dkr|jSnWnt k rnXt d|dS(NtSHA1RitMD5RtSHA256RtSHA224Rit256t224tSHA512RtSHA384Rt512t384sunsupported hash type %s(sSHA1ssha1(sMD5smd5(sSHA256ssha256sSHA224ssha224(sSHA512ssha512sSHA384ssha384( t_shaRRt_sha256RRt_sha512RRt ImportErrort ValueError(tnameRRRtbsR((sR/opt/freeware/lib/python2.7/site-packages/setuptools/_backport/hashlib/__init__.pyt__get_builtin_constructorBs0                cCsGy"ttd|}||SWnttfk rBt|SXdS(Ntopenssl_(tgetattrt_hashlibtAttributeErrorRR(Rtf((sR/opt/freeware/lib/python2.7/site-packages/setuptools/_backport/hashlib/__init__.pyt__get_openssl_constructor^s tcCst||S(s|new(name, string='') - Return a new hashing object using the named algorithm; optionally initialized with a string. (R(Rtstring((sR/opt/freeware/lib/python2.7/site-packages/setuptools/_backport/hashlib/__init__.pyt__py_newjscCs9ytj||SWntk r4t||SXdS(s|new(name, string='') - Return a new hashing object using the named algorithm; optionally initialized with a string. N(RRRR(RR!((sR/opt/freeware/lib/python2.7/site-packages/setuptools/_backport/hashlib/__init__.pyt __hash_newqs iNscode for hash %s was not found.(smd5ssha1ssha224ssha256ssha384ssha512(snews algorithms(t__doc__t__always_supportedRt__all__RRR"R#RRt __get_hashRt __func_nametglobalsRtloggingt exception(((sR/opt/freeware/lib/python2.7/site-packages/setuptools/_backport/hashlib/__init__.pyt7s,