Replies: 3 comments
-
is this a Release build? debug build Swift code is expected (unfortunately) to be slow. Since CryptoSwift is all Swift code without any other codebase underneath, such difference in debug vs release configuration build is the inherent feature of Swift language. |
Beta Was this translation helpful? Give feedback.
-
(Thanks for the prompt response here!) I should have checked again on my end, it takes 5-7s with a release build now. It does make testing much harder on debug builds though since I create these keys on login and 300s feels like a long time to wait. Wondering why SwiftyRSA works at a good speed on both debug/release though. |
Beta Was this translation helpful? Give feedback.
-
it uses pre-build framework and wrap it with Swift code. that’s technical explanation. I agree it make debugging annoying, but also there’s nothing can be done with Swift unless use pre-built binary feamework |
Beta Was this translation helpful? Give feedback.
-
Hey folks! I've been exploring a few options to figure out a public/private key system and landed here to try generating RSA keys on my iOS app.
Here's a very rough SwiftUI implementation to where I can repro these results. Any thoughts on what's happening?
Beta Was this translation helpful? Give feedback.
All reactions