Using different hash algorithm in purple_util_get_image_checksum()
Kevin Stange
kstange at pidgin.im
Thu Jul 2 07:33:02 EDT 2009
Marcus Lundblad wrote:
> If we are going to change how hashing of icons is done, maybe we should
> allow the hashing algorithm to be "encoded" into the resulting file
> names in the icon cache?
I might have misunderstood your meaning, but we already use the hash for
the file name of the image? Are you suggesting constructing a file name
containing more than just the hash? Based on a quick glance, this is
what I see now:
kevin at bashir icons % ls ~/.purple/icons | head -n 3
000d74ac5c14566643eb26547675e11b5bde0b99.gif
00287eb6c6c7cfbb7b1acf3715b6ff6f889ebf94.gif
0081d358e6395ad089b2a538d8d9f83896eb4c57.gif
Mallory, don't get any ideas!
Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://pidgin.im/pipermail/devel/attachments/20090702/e5d577cf/attachment.sig>
More information about the Devel
mailing list