foundeo/content-security-policy.com

Add hint about generating hash

Closed this issue · 2 comments

It would be great to provide a simple instruction that people can use for generating sha256 for their code. For example:

$ echo -n 'box-shadow: none; border: 0px;' | openssl dgst -sha256 -binary | base64