MCPcopy Index your code
hub / github.com/simstudioai/sim / crypto.test.ts

File crypto.test.ts

apps/sim/lib/api-key/crypto.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Tests for the API-key crypto primitives.
3 *
4 * `hashApiKey` is the foundation of both the new hash-first authentication

Callers

nothing calls this directly

Calls 6

hashApiKeyFunction · 0.90
encryptApiKeyFunction · 0.90
decryptApiKeyFunction · 0.90
isEncryptedApiKeyFormatFunction · 0.90
isLegacyApiKeyFormatFunction · 0.90
toStringMethod · 0.45

Tested by

no test coverage detected