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

generateKeyPairSync is not function #48

Open
DomTeng opened this issue Feb 13, 2020 · 1 comment
Open

generateKeyPairSync is not function #48

DomTeng opened this issue Feb 13, 2020 · 1 comment

Comments

@DomTeng
Copy link

DomTeng commented Feb 13, 2020

i have a demo to using the library

node v12.7.0
react-native v0.59.9

i have install the library, and it can work well as following

 componentDidMount(){
    console.log(crypto.getHashes());
    crypto.generateKeyPairSync();
  }

crypto.getHashes() can work.
but generateKeyPairSync() hints not a function.

can anyone give me a help:)

@nikbhintade
Copy link

Use something to generate keys. I used this. take look

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