From d3efc8f91370984913d9706a0cdd828eb63ee012 Mon Sep 17 00:00:00 2001 From: Hauke D Date: Sun, 2 Sep 2018 17:54:40 +0200 Subject: [PATCH] Added notes on SRI --- notes.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/notes.md b/notes.md index 25268a0..da39bcc 100644 --- a/notes.md +++ b/notes.md @@ -49,6 +49,15 @@ Limitations (Emscripten apparently only supports asm.js dynamic linking when dynamic memory growth is disabled, which is not very useful) +Miscellaneous +------------- + +- Generating a [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) value: + + $ perl -wMstrict -MDigest -le 'open my $fh, "<:raw", "web/webperl.js" or die $!; + print Digest->new("SHA-256")->addfile($fh)->b64digest' + + Prior Art ---------