I am using PyCryptodome libray for my cryptography tasks. I want to generate RSA key as shown in example.
I have typed this code:
from Cryptodome.PublicKey import RSA
key = RSA.generate(2048)
and it takes forever to execute. (While typing this question it has passed 10 minutes already and it is still not completed).
I am running it in Jupyter Notebook on Windows 10. Do you maybe have any idea why is it so slow or how to make it work? I have read documentation and tried to find similar questions but without any success.