Skip to content
empinet.dev
Security

Subresource Integrity Generator

Generate SHA-256, SHA-384, or SHA-512 integrity values for scripts, stylesheets, and preloaded resources.

SRI generator

Hash the exact contents of a script or stylesheet.

Even one changed byte produces a different value. Hash the exact deployed file content.

Protect third-party resources

An integrity attribute lets the browser reject a fetched resource when its bytes no longer match the expected digest.

Use exact deployed content

Minification, line endings, build banners, or any other content change requires generating a new integrity value.