IntegrityAlgorithm

Hash algorithm for bundle integrity verification.

Hash algorithm for bundle integrity verification.

Supports SHA-2 family hash algorithms for cryptographic verification following the Subresource Integrity specification.

View source ↗

Type

type IntegrityAlgorithm = 'sha256' | 'sha384' | 'sha512';

Examples

// Integrity strings use these algorithms:
// "sha256-abc123..." - SHA-256
// "sha384-def456..." - SHA-384 (recommended)
// "sha512-ghi789..." - SHA-512

On this page