Avahi optimisations

Ivan Krstić krstic at solarsail.hcs.harvard.edu
Tue Feb 26 04:29:17 EST 2008


On Feb 26, 2008, at 4:24 AM, Morgan Collett wrote:
> I've logged #6572 against Presence Service with a patch, to replace  
> the
> public key with its sha1 hash. Works in jhbuild.

That ticket indicates a 40-byte hash, but SHA-1 is a 160-bit function.  
Whence the doubling? Also, would you mind updating it to use  
hashlib.sha256? SHA-1 should be considered deprecated in all new code  
being written.

--
Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | http://radian.org




More information about the Devel mailing list