Lines Matching refs:digest
43 this.digest = match[2]
49 return this.digest && Buffer.from(this.digest, 'base64').toString('hex')
67 this.digest.match(BASE64_REGEX) &&
79 return `${this.algorithm}-${this.digest}${options}`
120 hash.digest === otherhash.digest
145 } else if (sri.algorithm && sri.digest) {
162 if (hash.algorithm && hash.digest) {
174 if (obj.algorithm && obj.digest) {
204 const digest = crypto.createHash(algo).update(data).digest('base64')
206 `${algo}-${digest}${optString}`,
209 if (hash.algorithm && hash.digest) {
250 const digest = crypto.createHash(algorithm).update(data).digest('base64')
251 const newSri = parse({algorithm, digest}) field
316 return `${algorithms[i]}-${h.digest('base64')}${optString}`
359 digest: function (enc) {
361 const digest = hashes.shift().digest('base64')
363 `${algo}-${digest}${optString}`,
366 if (hash.algorithm && hash.digest) {