Skip to content

widgetworks/sri-hash-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icon SRI Generator

SRI Generator

Subresource Integrity (SRI) Generator

Progressive Web Application (PWA) generating a <script> or <link> element with an integrity attribute.

GitHub GitHub release (latest SemVer including pre-releases) GitHub Workflow Status (branch) Netlify

Doks — Modern Documentation Theme

App

Usage

  1. Enter URL of JS or CSS file — or drop a local file
  2. Select SHA strength
  3. Click Generate
  4. Click Copy
  5. Paste <script> or <link> element

Documentation

Acknowledgements

Based on:

Major changes:

  • Use one SHA option only — following current practice
  • Default to SHA-512 — following current browser support
  • Add Reset button
  • Replace Copied alert with in page message
  • Replace CSS with Water.css

About

Subresource Integrity (SRI) Hash Generator (PWA)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 88.1%
  • HTML 7.4%
  • CSS 4.5%