According to the official website:
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.official website.
It supports Python 2.4 or newer, all Python 3 versions and PyPy.
Also this python module can be used with Windows and Linux (Ubuntu and Fedora distro linux).
I don't see anything about Mac OS - Apple OS Mac_OS - wikipedia.
First step of this tutorial:
C:\Python27\Scripts>pip install pycryptodomeYou need to have command.com shell admin rights or you got errors:
Collecting pycryptodome
Downloading pycryptodome-3.4-cp27-cp27m-win_amd64.whl (7.5MB)
100% |################################| 7.5MB 88kB/s
Installing collected packages: pycryptodome
Successfully installed pycryptodome-3.4
C:\Python27\Scripts>python -m Crypto.SelfTestYou can test it the instalation with:
Access is denied.
C:\Python27>python -m Crypto.SelfTestOne simple test with this module:
Skipping AESNI tests
...........................................................................................................................................................................................................................................................................................................................................................................
.......................
----------------------------------------------------------------------
Ran 22263 tests in 171.266s
OK
C:\Python27>python.exeMost of resurces and features can be found here also can have some example at Matthew Green.
Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from Crypto.Cipher import AES
>>> from Crypto.Random import get_random_bytes
>>>
I will come with another tutorial about this python module.
Have a great day.