Closed johnygomez closed 7 years ago
@johnygomez try the latest https://github.com/mvayngrib/rn-nodeify
i added the getRandomValues shim to shim.js
@johnygomez seems to work fine here (index.common.js has your two line ecdh example): https://github.com/mvayngrib/rnctest
@mvayngrib Sorry, I forgot, that I have to copy the shim.js to the root folder after the update. Now it seems to be working at my app too.. Thanks for now :)
@johnygomez ah yea, i fell for that a few times. Glad you got it working :)
Hi, I recently encountered a problem with ECDH initialization. I used the following code:
however it produces an error
I traced the error back to the 'elliptic' lib that uses 'brorand' lib for rand numbers, which contains some old code that throws this error...
I want to ask, whether anybody tried this functionality, and if so, was it working properly?
Thanks.