MCPcopy Create free account
hub / github.com/027xiguapi/code-box / constructor

Method constructor

utils/encryption.ts:17–20  ·  view source on GitHub ↗
(hash: string, keyId: string)

Source from the content-addressed store, hash-verified

15 private keyId: string
16
17 constructor(hash: string, keyId: string) {
18 this.password = hash
19 this.keyId = keyId
20 }
21
22 getEncryptedString(data: string): string {
23 if (!this.password) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected