Developing Crypto Code in Python
I am currently doing a research on how to develop crypto code in Python programming language.
Based on my research, there are several crypto libraries that's suitable for my purpose. They are Python Cryptography Toolkit and ezPyCrypto as my main libraries.
Python Cryptography Toolkit will be the low-level crypto library, while ezPyCrypto will act as a high-level crypto library.
Before installing those two libraries, make sure you have have the following packages :
- python
- python-devel
Here are the steps to install those libraries :
- Install Python Cryptography Toolkit (python-crypto) :
# rpm -Uvh python-crypto-2.0.1-15.i586.rpm
Preparing... ########################################### [100%]
1:python-crypto ########################################### [100%]
- Install ezPyCrypto :
$ tar xvzpf ezPyCrypto-0.1.1.tar.gz
$ cd ezPyCrypto-0.1.1/
$ su -c "python setup.py install"
Password:
running install
running build
running build_py
creating build
creating build/lib
copying ezPyCrypto.py -> build/lib
running install_lib
creating /usr/local/lib/python2.4
creating /usr/local/lib/python2.4/site-packages
copying build/lib/ezPyCrypto.py -> /usr/local/lib/python2.4/site-packages
byte-compiling /usr/local/lib/python2.4/site-packages/ezPyCrypto.py to ezPyCrypto.pyc
No comments:
Post a Comment