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

[whatwg] hash Attribute

From: Gervase Markham <gerv@mozilla.org>
Date: Thu, 09 Nov 2006 17:23:32 +0000
Message-ID: <45536414.3060204@mozilla.org>
XcomCoolDude wrote:
> 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.

A related proposal is:

That proposal has the advantage that the hash can accompany the URL into 
non-HTML contexts.

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

To ease the implementation and interoperability burden, the smallest 
possible number of hash functions should be required to be supported.

Received on Thursday, 9 November 2006 09:23:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC