在网上发现一个极好的python库,用于信息安全的,叫 PyCrypto
https://www.dlitz.net/software/pycrypto/

又找了windows的版本:
http://www.voidspace.org.uk/python/modules.shtml#pycrypto

下载后装了用了一下,感觉很好:

包括听说过的所有主流算法:
http://packages.python.org/pycrypto/ 
Submodules
  • Crypto.Cipher: Symmetric- and asymmetric-key encryption algorithms.

    • Crypto.Cipher.AES: AES symmetric cipher
    • Crypto.Cipher.ARC2: RC2 symmetric cipher
    • Crypto.Cipher.ARC4: ARC4 symmetric cipher
    • Crypto.Cipher.Blowfish: Blowfish symmetric cipher
    • Crypto.Cipher.CAST: CAST-128 symmetric cipher
    • Crypto.Cipher.DES: DES symmetric cipher
    • Crypto.Cipher.DES3: Triple DES symmetric cipher
    • Crypto.Cipher.PKCS1_OAEP: RSA encryption protocol according to PKCS#1 OAEP
    • Crypto.Cipher.PKCS1_v1_5: RSA encryption protocol according to PKCS#1 v1.5
    • Crypto.Cipher.XOR: XOR toy cipher
    • Crypto.Cipher.blockalgo: Module with definitions common to all block ciphers.
  • Crypto.Hash: Hashing algorithms
    • Crypto.Hash.HMAC: HMAC (Hash-based Message Authentication Code) algorithm
    • Crypto.Hash.MD2: MD2 cryptographic hash algorithm.
    • Crypto.Hash.MD4: MD4 cryptographic hash algorithm.
    • Crypto.Hash.MD5: MD5 cryptographic hash algorithm.
    • Crypto.Hash.RIPEMD: RIPEMD-160 cryptographic hash algorithm.
    • Crypto.Hash.SHA: SHA-1 cryptographic hash algorithm.
    • Crypto.Hash.SHA224: SHA-224 cryptographic hash algorithm.
    • Crypto.Hash.SHA256: SHA-256 cryptographic hash algorithm.
    • Crypto.Hash.SHA384: SHA-384 cryptographic hash algorithm.
    • Crypto.Hash.SHA512: SHA-512 cryptographic hash algorithm.
    • Crypto.Hash.hashalgo
  • Crypto.Protocol: Cryptographic protocols
    • Crypto.Protocol.AllOrNothing: This file implements all-or-nothing package transformations.
    • Crypto.Protocol.Chaffing: This file implements the chaffing algorithm.
    • Crypto.Protocol.KDF: This file contains a collection of standard key derivation functions.
  • Crypto.PublicKey: Public-key encryption and signature algorithms.
    • Crypto.PublicKey.DSA: DSA public-key signature algorithm.
    • Crypto.PublicKey.ElGamal: ElGamal public-key algorithm (randomized encryption and signature).
    • Crypto.PublicKey.RSA: RSA public-key cryptography algorithm (signature and encryption).
  • Crypto.Random
    • Crypto.Random.Fortuna

      • Crypto.Random.Fortuna.FortunaAccumulator
      • Crypto.Random.Fortuna.FortunaGenerator
      • Crypto.Random.Fortuna.SHAd256: SHA_d-256 hash function implementation.
    • Crypto.Random.OSRNG: Provides a platform-independent interface to the random number generators supplied by various operating systems.
      • Crypto.Random.OSRNG.fallback
      • Crypto.Random.OSRNG.nt
      • Crypto.Random.OSRNG.posix
      • Crypto.Random.OSRNG.rng_base
    • Crypto.Random._UserFriendlyRNG
    • Crypto.Random.random: A cryptographically strong version of Python's standard "random" module.
  • Crypto.Signature: Digital signature protocols
    • Crypto.Signature.PKCS1_PSS: RSA digital signature protocol with appendix according to PKCS#1 PSS.
    • Crypto.Signature.PKCS1_v1_5: RSA digital signature protocol according to PKCS#1 v1.5
  • Crypto.Util: Miscellaneous modules
    • Crypto.Util.Counter: Fast counter functions for CTR cipher modes.
    • Crypto.Util.RFC1751
    • Crypto.Util._counter
    • Crypto.Util._number_new
    • Crypto.Util.asn1
    • Crypto.Util.number
    • Crypto.Util.py21compat: Compatibility code for Python 2.1
    • Crypto.Util.py3compat: Compatibility code for handling string/bytes changes from Python 2.x to Py3k
    • Crypto.Util.randpool
    • Crypto.Util.strxor
    • Crypto.Util.winrandom
  • Crypto.pct_warnings

我在【win7操作系统 + 32位机器】上装python2.7 和PyCrypto (也有64位的版本) ,用这个辅助学习,感觉挺方便的。

其他引用来源:

Installing PyCrypto On Windows (Or How To Build Installers For Libraries With C-Modules)

http://www.razorvine.net/blog/user/irmen/article/2009-12-05/166

pycrypto 2.0.1 - Cryptographic modules for Python.

http://pypi.python.org/pypi/pycrypto/2.0.1

Hashing passwords using SHA256 is not enough today

http://forums.udacity.com/questions/6016855/hashing-passwords-using-sha256-is-not-enough-today#cs253

Python-list -- General discussion list for the Python programming language

http://mail.python.org/mailman/listinfo/python-list

PyCrypto —— 一个极好的信息安全python库相关推荐

  1. python自带gui_一个极简易上手的 Python GUI 库

    原标题:一个极简易上手的 Python GUI 库 很多同学学了 Python 之后都想开发带界面的程序,也就是 GUI 应用.一般用的比较多的 GUI 库是 Tkinter(Python 自带)和 ...

  2. 推荐一个牛逼的生物信息 Python 库 - Dash Bio

    翻译 | Lemonbit 来源 | Plotly 译文出品 | Python数据之道 推荐一个牛逼的生物信息 Python 库 - Dash Bio Dash Bio 是一个免费的开源 Python ...

  3. 吐血整理一个月——终于把所有Python库整理齐了.....

    大家好! 最近天天熬夜,头发都掉完了, 就为了把Python所有的库完全整理一遍, 希望对大家有所帮助! 一.数据处理 (https://jq.qq.com/?_wv=1027&k=2Q3YT ...

  4. 一个「神奇」的Python库,99%的人都爱!

    背景介绍 今天介绍Python中一个超级神奇的库,99%人用过都喜欢它,剩下的1%没用过! 在如今的大数据时代,数据的价值可想而知.有时候为了做测试,需要模拟真实的环境,但是又不能直接使用真实数据,就 ...

  5. python 开发工具_一个极具意义的 Python 前端开发工具

    点击上方   编程学习者社区,选择 创建星标 回复关键字 资源  获取编程资源 Python作为胶水语言,真的是无所不能.这不,最近又出现一个基于Python3,目标是替代JavaScript的前端开 ...

  6. 清华大学发布珠算:一个用于生成模型的Python库

    5 月 27-28 日,机器之心主办的第一届全球机器智能峰会(GMIS 2017)将在北京 898 创新空间举行.在峰会第一天下午的「机器学习」主题 Session 上,清华大学副教授朱军将分享解读& ...

  7. python 文字识别 准确率_关于OCR图片文本检测、推荐一个 基于深度学习的Python 库!...

    大家好,我是 zeroing~ 1,前言 之前谈到图片文本 OCR 识别时,写过一篇文章介绍了一个 Python 包 pytesseract ,具体内容可参考 介绍一个Python 包 ,几行代码可实 ...

  8. Python资源大全 屌炸Python库

    交互式解析器 交互式 Python 解析器. IPython – 功能丰富的工具,非常有效的使用交互式 Python. bpython– 界面丰富的 Python 解析器. ptpython – 高级 ...

  9. [转载] 20个常用Python库及200个第三方库

    参考链接: 使用Python在Linux Terminal中格式化文本 Requests.Kenneth Reitz写的最富盛名的http库.每个Python程序员都应该有它 Scrapy 如果你从事 ...

最新文章

  1. php和python哪个用了开发web好-web开发选择Python还是PHP好呢?
  2. 阿里云实现putty私钥登录全过程
  3. Tomcat - 模拟Tomcat的webappClassLoader加载自己war包应用内不同版本类实现相互共存与隔离
  4. java设计前期工作基础和存在的困难_Java秒杀系统实战系列-基于Redisson的分布式锁优化秒杀逻辑...
  5. linux shell 从变量中按指定字符切割字符串
  6. 分布式与人工智能课程(part8)--Pandas绘图
  7. [LINK]用Python计算昨天、今天和明天的日期时间
  8. vue数据改变了,视图不更新不刷新问题
  9. 新版二开cp盲盒小纸条月老小程序源码
  10. linux下查看usb插拔日志,Linux:如何检测usb键盘是否已插入和拔出
  11. c++读取ini的Section节名
  12. 一篇关于Dataset与泛型、自定义集合的讨论
  13. spring boot示例_Spring Boot REST示例
  14. php旧物交易开源代码_二手市场交易网站PHP
  15. 新鲜的字节跳动实习面经(Android开发岗),字节跳动面试分享
  16. HTML - 调用腾讯 QQ 进行客服在线聊天(PC)
  17. 高防服务器网站搭建专用死扛CC攻击有效处理高并发
  18. 393高校毕业设计选题
  19. 学计算机的思维导图,用计算机绘制思维导图的几大优势
  20. 服务端基础设施开发----整合thumbnailator编写图片插件

热门文章

  1. MyBatis 3.2.8 用户手册 4.1.5 Result Maps
  2. JXplorer 的简单使用
  3. 交换机的工作原理是什么?
  4. 中国象棋将帅问题java_编程之美:中国象棋将帅问题
  5. LAN IP,WAN IP和Global IP
  6. EMV规范(一)——背景介绍
  7. 1155低功耗cpu排行_1155针可以配那些cpu都列举出来
  8. 品优购项目案例(练习)
  9. python 爬虫模拟点击_爬虫——模拟点击动态页面
  10. protractor环境安装