react-native-crypto freezes android app for ~10sec when signing content -


i'm using react-native-jwt generate jwt google pubsub. library uses react-native-crypto inside signing data.

that works great in debug mode (when calculations performed in packager), leads app freeze in release mode on android device.

here line causes freeze:

crypto.createsign(method).update(input).sign(key, 'base64'); 

where crypto react-native-crypto , method rsa-sha256.

any thoughts cause of problem?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -