Today I learned How to make your browser do an integrity c…
Today I learned
How to make your browser do an integrity check for CDN hosted files
<script
type="text/javascript"
src="https://unpkg.com/bsv@0.27.2/bsv.min.js"
integrity="sha256-Hi6bj03v/dd33MN2P9MdeCYvAb+XPrrtoiGGmCKtU1Q="
crossorigin="anonymous">
Replies
If the hash mismatches the browser will refuse to load the file