a11y.skipToMainContent
1

Subresource Integrity Generator

जावास्क्रिप्ट और सीएसएस फ़ाइलों के लिए Subresource Integrity (SRI) hashes उत्पन्न करें। अपनी साइट को CDN संसाधनों से समझौता करने से बचाएं।.

SRI Hash Generator
HTML Tag with Integrity

Note: This generates a placeholder hash. For real SRI, fetch the file and compute the hash server-side or use a build tool.

More options
Was this tool helpful?
Send output to:
Advertisement

How to use SRI Hash Generator

  1. अपनी स्क्रिप्ट या स्टाइलशीट का URL दर्ज करें।.
  2. हैश एल्गोरिदम (SHA-256, SHA-384, SHA-512) का चयन करें।.
  3. SRI हैश बनाने के लिए जनरेट पर क्लिक करें।.
  4. HTML टैग को अखंडता विशेषता के साथ कॉपी करें।.

SRI हैश जेनरेटर क्या है?

Subresource Integrity (SRI) एक सुरक्षा सुविधा है जो ब्राउज़रों को यह सत्यापित करने देता है कि CDN से प्राप्त संसाधनों के साथ छेड़छाड़ नहीं की गई है। आप अपेक्षित फ़ाइल सामग्री के हैश के साथ स्क्रिप्ट या लिंक टैग के लिए एक अखंडता विशेषता जोड़ते हैं।

यह उपकरण किसी भी URL या फ़ाइल सामग्री के लिए SRI hashes (SHA-256, SHA-384, SHA-512) उत्पन्न करता है। यह संपूर्ण अखंडता विशेषता मान और HTML टैग को क्रॉसोरिजिन विशेषता के साथ बनाता है।

Advertisement

FAQ

क्या हैश एल्गोरिदम मैं उपयोग करना चाहिए?
SHA-384 को सुरक्षा और संगतता के अच्छे संतुलन के रूप में अनुशंसित किया जाता है। SHA-512 सबसे अधिक सुरक्षा प्रदान करता है।.
क्या मुझे crossorigin की आवश्यकता है?
हां - क्रॉसोरिजिन = 'anonymous' विशेषता एसआरआई के लिए क्रॉस-origin संसाधनों के साथ काम करने की आवश्यकता है।.

Related tools

Author

NK
Prof. Noah Klein"The Privacy Guardian"

Cybersecurity Researcher & Privacy Advocate

Professor Klein holds a PhD in Information Security and has testified before EU parliamentary committees on data privacy legislation. He builds encryption tools for journalists, audits web applications for security flaws, and believes that privacy is not a feature but a fundamental right. His research has been cited in Wired, Nature, and The Guardian, and he advises nonprofits on responsible data stewardship.

Advertisement