Re:Proton.B: What this Mac malware does
by nerdponx on Sunday May 14, 2017 @11:08AM
(#14335900)
How does the browser know what hash algo to use?
[ Parent
| on HN ]
https://hacks.mozilla.org/2015/09/subresource-integrity-in-f...
"As you may have noticed, the integrity attribute does not just include the hash value. It also contains the digest name. The syntax for the integrity attribute allows multiple tokens of this name-value format. This allows site owners to specify hashes of different strengths as well as the values of multiple scripts that may be behind a URL. This is useful for browser sniffing or content negotiation."