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

How can we implement this in real world client-server app #14

Open
godomainz opened this issue Feb 2, 2022 · 0 comments
Open

How can we implement this in real world client-server app #14

godomainz opened this issue Feb 2, 2022 · 0 comments

Comments

@godomainz
Copy link

I can under stand below code will work if both client and server are in same file

var client = noise.initialize('KK', true, Buffer.alloc(0), sClient, null, sServer.publicKey)
var server = noise.initialize('KK', false, Buffer.alloc(0), sServer, null, sClient.publicKey)

but how to implement this if server is nodejs and client is a React app ?

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

1 participant