Skip to content

Instantly share code, notes, and snippets.

@blluv
Created February 2, 2023 10:09
Show Gist options
  • Save blluv/1bcb63e659cd0c151495469395d20640 to your computer and use it in GitHub Desktop.
Save blluv/1bcb63e659cd0c151495469395d20640 to your computer and use it in GitHub Desktop.
generate vox srtp master key
def generateSrtpMasterKey(callId: int):
callId = str(((callId >> 2) + 0xC5FF9) & 0xFFFFFFFFFFFFFFFF)
return "".join([callId[i % len(callId)] for i in range(30)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment