Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有支持 AES EAX 模式的 Python 库?PyCrypto似乎不支持它。
它似乎不受支持是有原因的吗?
我建议你看看这个 LibTomCrypt包装器。它应该支持你所需要的。
PyCrypto 2.7 版将很快支持 EAX(以及其他 AEAD 模式,如 GCM、CCM 和 SIV)。
现在,在PyCrypto 网站上有一个可供下载的 alpha 版本。或者,您可以在github上查看当前的 master 分支。