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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -