Searched refs:pickAlgorithm (Results 1 – 3 of 3) sorted by relevance
56 this.algorithm = this.sri.pickAlgorithm(this.opts)182 const algo = other.pickAlgorithm(opts, [this.algorithm])325 const algo = other.pickAlgorithm(opts, Object.keys(this))341 pickAlgorithm (opts, hashes) { method in Integrity342 const pickAlgorithm = opts?.pickAlgorithm || getPrioritizedHash350 return keys.reduce((acc, algo) => pickAlgorithm(acc, algo) || acc)468 const algorithm = sri.pickAlgorithm(opts)
111 const algo = sri.pickAlgorithm()
255 return this.integrity ? this.integrity.pickAlgorithm(this.opts)