Python中的GCM模式下的AES [英] AES in GCM mode in Python

查看:3447
本文介绍了Python中的GCM模式下的AES的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道一个python库或ac库周围的包装,可以通过 GCM模式轻松提供经过身份验证的AES ?

Does anyone know of a python library or wrapper around a c library that will easily provide Authenticated AES via GCM mode?

PyCrypto不支持它,并且看起来PyOpenSSL不支持直接访问OpenSSL的对称密码部分

PyCrypto does not support it and it does not appear that PyOpenSSL supports direct access to the symmetric cipher portions of OpenSSL

推荐答案

PyCA加密库提供AES-GCM: https://cryptography.io/en/latest/hazmat/primitives/symmetric-encryption/#cryptography.hazmat.primitives.ciphers.modes.GCM

The PyCA cryptography library provides AES-GCM: https://cryptography.io/en/latest/hazmat/primitives/symmetric-encryption/#cryptography.hazmat.primitives.ciphers.modes.GCM

这篇关于Python中的GCM模式下的AES的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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