Dart-Basic-Utils icon indicating copy to clipboard operation
Dart-Basic-Utils copied to clipboard

CryptoUtils.generateRSAKeyPair takes a lot of time on Web

Open cyberneid opened this issue 1 year ago • 1 comments

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.

cyberneid avatar Jan 08 '24 13:01 cyberneid

@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.

Ephenodrom avatar Jan 12 '24 19:01 Ephenodrom