Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
process
Method · 0.95
Calls
3
close
Method · 0.65
xor
Method · 0.65
encrypt
Method · 0.45
Tested by
no test coverage detected