CSP rollout test
An engineer wants a 16-byte nonce to test a CSP header locally.
Inputs
- Byte length: 16
Steps
- Generate secure random bytes
- Base64-encode the result
- Render a sample CSP fragment
Result
- The output can be used to test nonce-aware markup and headers.