MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / decryptActivationCode

Function decryptActivationCode

packages/shared/src/crypto.ts:236–239  ·  view source on GitHub ↗
(encrypted: string)

Source from the content-addressed store, hash-verified

234}
235
236export function decryptActivationCode(encrypted: string): string {
237 const { iv, encryptedData } = JSON.parse(Buffer.from(encrypted, 'base64').toString('utf8'));
238 return decrypt(iv, encryptedData);
239}

Callers 4

syncWithLighthouseFunction · 0.90
createCheckoutSessionFunction · 0.90
createPortalSessionFunction · 0.90
getAllInvoicesFunction · 0.90

Calls 1

decryptFunction · 0.85

Tested by

no test coverage detected