MCPcopy Create free account
hub / github.com/browserify/crypto-browserify / sha1_ft

Function sha1_ft

example/bundle.js:498–503  ·  view source on GitHub ↗
(t, b, c, d)

Source from the content-addressed store, hash-verified

496 * iteration
497 */
498 function sha1_ft(t, b, c, d) {
499 if (t < 20) { return (b & c) | (~b & d); }
500 if (t < 40) { return b ^ c ^ d; }
501 if (t < 60) { return (b & c) | (b & d) | (c & d); }
502 return b ^ c ^ d;
503 }
504
505 /*
506 * Determine the appropriate additive constant for the current iteration

Callers 1

core_sha1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…