MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / verify

Method verify

modules/crypt/etc/hmac.js:102–106  ·  view source on GitHub ↗
(H, sig)

Source from the content-addressed store, hash-verified

100 return sig;
101 };
102 verify(H, sig) {
103 this.write(H);
104 let t = this.close();
105 return Bin.comp(t, sig, this.hashLen) == 0;
106 };
107};
108

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
writeMethod · 0.65

Tested by

no test coverage detected