Lines Matching refs:actualValue
1459 let actualValue = crypto.createHash(algorithm).update(bytes).digest("base64");
1460 if (actualValue[actualValue.length - 1] === "=") {
1461 if (actualValue[actualValue.length - 2] === "=") {
1462 actualValue = actualValue.slice(0, -2);
1464 actualValue = actualValue.slice(0, -1);
1467 if (compareBase64Mixed(actualValue, expectedValue)) {
1528 function compareBase64Mixed(actualValue, expectedValue) {
1529 if (actualValue.length !== expectedValue.length) {
1532 for (let i = 0; i < actualValue.length; ++i) {
1533 if (actualValue[i] !== expectedValue[i]) {
1534 if (actualValue[i] === "+" && expectedValue[i] === "-" || actualValue[i] === "/" && expectedValue[i] === "_") {