I've been trying to use ChaCha20 for some school work but I can't seem to import it. When I run the code I get an error
from Crypto.Cipher import ChaCha20
ImportError: cannot import name ChaCha20
I have tried to import other stuff from Crypto.Cipher (AES for example) and I don't get any errors.
EDIT: Even after uninstalling everything and reinstalling pycryptodome (only) I still get the same error any ideias why?
EDIT2: Now I was being an idiot. After uninstalling pycrypto and installing pycryptodome it didn't work because I installed it for python2.x and I was using python3.x to solve it I only had to do was pip3 install pycryptodome