MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / sha1_kt

Function sha1_kt

scripts/passwordGenerator.js:77–85  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

75 }
76
77 function sha1_kt(t) {
78 return t < 20
79 ? 1518500249
80 : t < 40
81 ? 1859775393
82 : t < 60
83 ? -1894007588
84 : -899497514;
85 }
86
87 function safe_add(x, y) {
88 var lsw = (x & 0xffff) + (y & 0xffff);

Callers 1

core_sha1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected