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 与 GCM 模式一起使用,密钥大小为 128,192,256。
我已经用 CBC 模式完成了 AES 加密,但是我仍然没有 GCM 模式的解决方案。如果有人有请提出一些有用的指导
Common Crypto 中有一个未记录的 AES GCM 实现,通过添加可以使用的标头。
注意:它不支持关联数据(AEAD)。
有关标题示例,请参见此SO 答案。
github 上有一个AES GCM的实现,与 Common Crypto 相比似乎合理,但速度较慢。使用风险自负。