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

Method reset

modules/crypt/etc/hmac.js:86–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 return h.close();
85 };
86 reset() {
87 this.h.reset();
88 this.h.write(this.ipad.buffer);
89 };
90 process(...items) {
91 this.reset();
92 items.forEach(item => this.h.write(item));

Callers 5

processMethod · 0.95
initMethod · 0.45
closeMethod · 0.45
crypt.jsFile · 0.45
calculateMacFunction · 0.45

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected