Re: [whatwg] hash Attribute

2006-11-10 Thread XcomCoolDude
Michel: Actually, hash is the proper term. Checksums are much simpler, and are used only for checking against accidental modifications, whereas cryptographic hash functions are used to protect against malicious tampering. See http://en.wikipedia.org/wiki/Checksum.Ian: I imagine most user-agents would just warn the user, but still allow the file to be opened. 

Want to start your own business? Learn how on Yahoo! Small Business.

[whatwg] hash Attribute

2006-11-07 Thread XcomCoolDude
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 itselfExamples: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.