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

Method close

modules/crypt/etc/gcm.js:76–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 return this.ctr.decrypt(data, buf);
75 };
76 close() {
77 let t = this.ghash.close();
78 return Bin.xor(t, this.block.encrypt(this.y0));
79 };
80 process(data, buf, iv, aad, encFlag) {
81 if (encFlag) {
82 this.init(iv, aad);

Callers 1

processMethod · 0.95

Calls 3

closeMethod · 0.65
xorMethod · 0.65
encryptMethod · 0.45

Tested by

no test coverage detected