W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] hash Attribute

From: XcomCoolDude <xcomcooldude@yahoo.com>
Date: Tue, 7 Nov 2006 21:42:08 -0800 (PST)
Message-ID: <20061108054208.3043.qmail@web38208.mail.mud.yahoo.com>
How about a hash attribute for all elements that link to external files (a, img, etc.)?

It would allow you to pass an MD5, SHA-1, SHA-256, or other hash to a user-agent for automatic comparison with the linked file.

I'd suggest a format where the hash algorithm is listed, followed by a forward slash and then the hash itself

Examples:
hash="MD5/9e107d9d372bb6826bd81d3542a419d6"
hash="SHA-1/2fd4e1c6 7a2d28fc ed849ee1 bb76e739 1b93eb12"
hash="SHA-256/d7a8fbb3 07d78094 69ca9abc b0082e4f 8d5651e4 6d3cdb76 2d02d0bf 37c9e592"

See my thread over at mozillaZine for more info and other ideas: http://forums.mozillazine.org/viewtopic.php?p=2234056

--Wulf

 
---------------------------------
Sponsored Link 

Talk more and pay less. Vonage can save you up to $300 a year on your phone bill. Sign up now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20061107/882d638c/attachment.htm>
Received on Tuesday, 7 November 2006 21:42:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC