Ephenodrom / Dart-Basic-Utils

A dart package for many helper methods fitting common situations
MIT License
364 stars 77 forks source link

CryptoUtils.generateRSAKeyPair takes a lot of time on Web #109

Open cyberneid opened 9 months ago

cyberneid commented 9 months ago

I'm trying to generate a 2048 RSA Keypair with CryptoUtils.generateRSAKeyPair(keySize: 2048); but on Web it takes a lot of time, about 2 minutes and the UI hangs.

Ephenodrom commented 9 months ago

@cyberneid As the CryptoUtils class is basically a wrapper around pointycastle, can you check out the repository and try it directly with that package ? I think this is more of a problem with pointycastle.