amitaymolko / react-native-rsa-native

A native implementation of RSA key generation and encryption/decryption.
MIT License
233 stars 113 forks source link

Performance issues #123

Open mfbx9da4 opened 2 years ago

mfbx9da4 commented 2 years ago

This code can take between 5 and 7 seconds to run on ios 15. Why is that? Is there anyway to speed this up?

const keys = await Promise.all([RSA.generateKeys(4096), RSA.generateKeys(4096)])