Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ hashVoiceToken
Function
hashVoiceToken
apps/sim/app/api/speech/token/route.ts:37–39 ·
view source on GitHub ↗
(token: string)
Source
from the content-addressed store, hash-verified
35
} as
const
36
37
function
hashVoiceToken(token: string): string {
38
return
createHash(
'sha256'
).update(token).digest(
'hex'
)
39
}
40
41
const
rateLimiter =
new
RateLimiter()
42
Callers
1
route.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected