Lines Matching full:hash
62 /* creates a digest hash */
65 /* simple SHA hash function - adapted from https://geraintluff.github.io/sha256/ */
66 hash: function(ascii) { method
69 const sha256 = $BMCaptcha.digest.hash;
86 …// Initial hash value: first 32 bits of the fractional parts of the square roots of the first 8 pr…
88 var hash = sha256.h = sha256.h || [];
93 var hash = [], k = [];
103 hash[primeCounter] = (mathPow(candidate, .5)*maxWord)|0;
121 var oldHash = hash;
122 // This is now the undefinedworking hash", often labelled as variables a...g
124 hash = hash.slice(0, 8);
133 var a = hash[0], e = hash[4];
134 var temp1 = hash[7]
136 + ((e&hash[5])^((~e)&hash[6])) // ch
148 + ((a&hash[1])^(a&hash[2])^(hash[1]&hash[2])); // maj
150 …hash = [(temp1 + temp2)|0].concat(hash); // We don't bother trimming off the extra ones, they're h…
151 hash[4] = (hash[4] + temp1)|0;
155 hash[i] = (hash[i] + oldHash[i])|0;
161 var b = (hash[i]>>(j*8))&255;
176 // generate the hash:
186 …document.cookie = "DWConfirm=" + encodeURIComponent($BMCaptcha.digest.hash(dat.join(';'))) + '; pa…