Create a nonce that is at least 128 bits long and should be (is not currently) cryptographically random. See nonce spec at https://w3c.github.io/webappsec-csp/#security-nonces
WARNING: THIS IS NOT CURRENTLY CRYPTOGRAPHICALLY SECURE! TODO: Make this cryptographically random! Use some polymorphic library that works in all contexts? https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues only works in browser
Create a nonce that is at least 128 bits long and should be (is not currently) cryptographically random. See nonce spec at https://w3c.github.io/webappsec-csp/#security-nonces
WARNING: THIS IS NOT CURRENTLY CRYPTOGRAPHICALLY SECURE! TODO: Make this cryptographically random! Use some polymorphic library that works in all contexts? https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues only works in browser