MCPcopy Index your code
hub / github.com/simstudioai/sim / passwordSlot

Function passwordSlot

apps/sim/lib/core/security/deployment.ts:18–21  ·  view source on GitHub ↗
(encryptedPassword?: string | null)

Source from the content-addressed store, hash-verified

16}
17
18function passwordSlot(encryptedPassword?: string | null): string {
19 if (!encryptedPassword) return ''
20 return sha256Hex(encryptedPassword).slice(0, 8)
21}
22
23function generateAuthToken(
24 deploymentId: string,

Callers 2

generateAuthTokenFunction · 0.85
validateAuthTokenFunction · 0.85

Calls 1

sha256HexFunction · 0.90

Tested by

no test coverage detected