MCPcopy Create free account
hub / github.com/allocnode/oh-my-sage /

Class

ref/gateway_client.js:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19// ==================== AES-GCM ====================
20class AESGCMCipher {
21 constructor(key, nonce) {
22 if (key.length !== 16) throw new Error('key must be 16 bytes');
23 if (nonce.length !== 8) throw new Error('nonce must be 8 bytes');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected