Closed cpueasy closed 2 years ago
Remove the toString on the key above, connect expects a buffer
FYI - OP is for the Ukrainian war - probably due to brainwashing from Russian government.
Yeah totally. Lets all support terrorism @baylanger
I don't support war nor Terrorism
I am trying to output the Public key from the server into another file which would be the client
I tried to store this base64 string as a variable in the client using the same library and still can't connect to the server! Here is the client code
The corresponding error:
Can anybody tell me how I can store the public key bytes as a variable through like base64 or JSON.stringify() or as a hex string?