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

Function hex_sha1

example/bundle.js:435–435  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

433 * They take string arguments and return either hex or base-64 encoded strings
434 */
435 function hex_sha1(s) { return binb2hex(core_sha1(str2binb(s), s.length * chrsz)); }
436 function b64_sha1(s) { return binb2b64(core_sha1(str2binb(s), s.length * chrsz)); }
437 function str_sha1(s) { return binb2str(core_sha1(str2binb(s), s.length * chrsz)); }
438 function hex_hmac_sha1(key, data) { return binb2hex(core_hmac_sha1(key, data)); }

Callers 1

sha1_vm_testFunction · 0.85

Calls 3

binb2hexFunction · 0.85
core_sha1Function · 0.85
str2binbFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…