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

Function sha1_kt

example/bundle.js:508–511  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

506 * Determine the appropriate additive constant for the current iteration
507 */
508 function sha1_kt(t) {
509 return t < 20 ? 1518500249 : t < 40 ? 1859775393
510 : t < 60 ? -1894007588 : -899497514;
511 }
512
513 /*
514 * Calculate the HMAC-SHA1 of a key and some data

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…