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

Function sha1_vm_test

example/bundle.js:445–447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443 * Perform a simple self-test to see if the VM is working
444 */
445 function sha1_vm_test() {
446 return hex_sha1('abc') == 'a9993e364706816aba3e25717850c26c9cd0d89d';
447 }
448
449 /*
450 * Calculate the SHA-1 of an array of big-endian words, and a bit length

Callers

nothing calls this directly

Calls 1

hex_sha1Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…