Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more efficient signing #4

Open
calvinmetcalf opened this issue Apr 17, 2015 · 1 comment
Open

more efficient signing #4

calvinmetcalf opened this issue Apr 17, 2015 · 1 comment

Comments

@calvinmetcalf
Copy link

rsa can be a bit slow especially if you have to do it a lot, it might be faster to just come up with a shared secret (ecdh is pretty cheap) and use hmacs to verify it incrementing the key each time (https://github.com/calvinmetcalf/hmac-stream does it for a binary stream or since it's already an object stream you could just do it manually).

@mafintosh
Copy link
Owner

Rsa is actually just used for the initial two messages. After that it uses webrtcs dtls stack. I wanna make this more generic though so we can support multiple schemes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants