🍋 Privacy & Security

SRI Hash Generator

Generate Subresource Integrity hashes

Free Только в браузере No sign-up
chars words sentences lines

Параметры SRI

Type or paste something into the Input box to enable this button.

Результаты

Результат

О SRI Hash Generator

Generate Subresource Integrity (SRI) hashes for script and link tags. Verify that CDN-hosted resources have not been tampered with.

Как это работает

Computes a cryptographic hash (SHA-256, SHA-384, or SHA-512) of your resource content using the Web Crypto API. Generates the full integrity attribute value and complete HTML tags with crossorigin attribute.

Пошагово

  1. 1 ['Paste the content of your JS or CSS file', 'Select the hash algorithm (SHA-384 recommended)', 'Choose output format: integrity attribute or full HTML tag', 'Click Generate to compute the SRI hash', 'Add the integrity attribute to your HTML tags']

Советы

  • [
  • '
  • S
  • H
  • A
  • -
  • 3
  • 8
  • 4
  • i
  • s
  • r
  • e
  • c
  • o
  • m
  • m
  • e
  • n
  • d
  • e
  • d
  • b
  • y
  • t
  • h
  • e
  • W
  • 3
  • C
  • S
  • R
  • I
  • s
  • p
  • e
  • c
  • i
  • f
  • i
  • c
  • a
  • t
  • i
  • o
  • n
  • '
  • ,
  • "
  • A
  • l
  • w
  • a
  • y
  • s
  • i
  • n
  • c
  • l
  • u
  • d
  • e
  • c
  • r
  • o
  • s
  • s
  • o
  • r
  • i
  • g
  • i
  • n
  • =
  • '
  • a
  • n
  • o
  • n
  • y
  • m
  • o
  • u
  • s
  • '
  • w
  • i
  • t
  • h
  • S
  • R
  • I
  • "
  • ,
  • '
  • R
  • e
  • g
  • e
  • n
  • e
  • r
  • a
  • t
  • e
  • t
  • h
  • e
  • h
  • a
  • s
  • h
  • w
  • h
  • e
  • n
  • e
  • v
  • e
  • r
  • t
  • h
  • e
  • r
  • e
  • s
  • o
  • u
  • r
  • c
  • e
  • c
  • o
  • n
  • t
  • e
  • n
  • t
  • c
  • h
  • a
  • n
  • g
  • e
  • s
  • '
  • ,
  • '
  • S
  • R
  • I
  • o
  • n
  • l
  • y
  • w
  • o
  • r
  • k
  • s
  • w
  • i
  • t
  • h
  • r
  • e
  • s
  • o
  • u
  • r
  • c
  • e
  • s
  • s
  • e
  • r
  • v
  • e
  • d
  • o
  • v
  • e
  • r
  • C
  • O
  • R
  • S
  • -
  • e
  • n
  • a
  • b
  • l
  • e
  • d
  • c
  • o
  • n
  • n
  • e
  • c
  • t
  • i
  • o
  • n
  • s
  • '
  • ]

Часто задаваемые вопросы