FlowCrypt / flowcrypt-android

FlowCrypt Android App
https://flowcrypt.com
Other
91 stars 11 forks source link

core decrypt performance improvements #671

Closed tomholub closed 5 years ago

tomholub commented 5 years ago

can use native implementations for:

AES should not be needed as it's using native implementation on Node

tomholub commented 5 years ago

Current decrypt speed on my phone, rsa4096 (utf encrypted test)

D: <-- 200 OK https://localhost:47929/ (12250ms)
D: <-- 200 OK https://localhost:47929/ (10877ms)
D: <-- 200 OK https://localhost:47929/ (10874ms)
tomholub commented 5 years ago

Current Run all tests: seconds [33 30 30]

tomholub commented 5 years ago

Current rsa4096 utf encrypted test with just one key loaded: ms [6692 6080 5782]

tomholub commented 5 years ago

After doing rsa decryption in Kotlin:

tomholub commented 5 years ago

After doing rsa verify modular exponentiation in Kotlin: