CSP Hasher for inline JavaScript and CSS