什么(纯)Python库用于AES 256加密? [英] What (pure) Python library to use for AES 256 encryption?

查看:351
本文介绍了什么(纯)Python库用于AES 256加密?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找(最好是纯粹的)python库来执行AES 256加密和解密。

I am looking for a (preferably pure) python library to do AES 256 encryption and decryption.

这个库应该支持CBC密码模式,并使用PKCS7填充<根据我之前的一个问题的答案,href =https://stackoverflow.com/questions/172392/what-symmetric-cypher-to-use-for-crypting-messages>

This library should support the CBC cipher mode and use PKCS7 padding according to the answer to an earlier question of mine.

该库至少应该在Mac OS X(10.4)和Windows XP上工作。理想情况下,将其放入项目的源目录中。我看到了Josh Davis的这个,但不知道它是多么好,如果它执行所需的CBC密码模式...扫描源表明它不

The library should at least work on Mac OS X (10.4) and Windows XP. Ideally just by dropping it into the source directory of my project. I have seen this by Josh Davis, but am not sure about how good it is and if it does the required CBC cipher mode... Scanning the source suggests it doesn't

推荐答案

PyCrypto 应该是你的一个。

这篇关于什么(纯)Python库用于AES 256加密?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆