Lines Matching refs:hash
19 supportedHashes = crypto.getHashes().filter((hash) => possibleRelevantHashes.includes(hash))
52 if (location && !location.hash) {
53 location.hash = requestFragment
471 url.hash = ''
535 // allow requests if an invalid hash is given, as precedence).
568 const expectedValue = item.hash
595 // https://w3c.github.io/webappsec-subresource-integrity/#grammardef-hash-with-options
598 const parseHashWithOptions = /(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i
606 /** @type {{ algo: string, hash: string }[]} */
617 // 2. Parse token as a hash-with-options.
633 // 4. Let algorithm be the hash-algo component of token.
636 // 5. If algorithm is a hash function recognized by the user