Lines Matching refs:algorithm
51 function supportedAlgorithm(algorithm) { argument
52 return !UNSUPPORTED.includes(algorithm);
74 const [key, algorithm] = entry;
76 const targetValue = valueMapping[encoding][algorithm];
77 if (supportedAlgorithm(algorithm)) {
78 const value = await Crypto.digestStringAsync(algorithm, testValue, { encoding });
83 await Crypto.digestStringAsync(algorithm, testValue, { encoding });
97 const [key, algorithm] = entry;
99 const hex = valueMapping[CryptoEncoding.HEX][algorithm];
101 if (supportedAlgorithm(algorithm)) {
102 const value = await Crypto.digest(algorithm, testTypedArray);