Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cyberneid opened this issue Jan 8, 2024 · 1 comment
Open

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

cyberneid opened this issue Jan 8, 2024 · 1 comment

Comments

@cyberneid
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants