I am trying to load pycrypto module. When I do
import Crypto
I get no error but when I do from Crypto.HASH import SHA256
, I am getting ImportError
>>> import Crypto
>>> hash = SHA256.new()
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
hash = SHA256.new()
NameError: name 'SHA256' is not defined
>>> from Crypto.HASH import SHA256
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
from Crypto.HASH import SHA256
ImportError: No module named 'Crypto.HASH'
>>>
OS : Windows 8 Python : 3.5 32 Bit
Thank you.