【发布时间】:2016-01-16 16:53:15
【问题描述】:
我需要在我的代码中使用 AES 加密和消息验证码 MAC。我在 Arduino 标准库中找不到任何加密库。我从其他链接中找到了一些可用的库,例如:https://github.com/Cathedrow/Cryptosuite
你能告诉我你知道的 AES 和 HMAC 算法的最佳实现吗?
【问题讨论】:
标签: arduino arduino-uno arduino-ide
我需要在我的代码中使用 AES 加密和消息验证码 MAC。我在 Arduino 标准库中找不到任何加密库。我从其他链接中找到了一些可用的库,例如:https://github.com/Cathedrow/Cryptosuite
你能告诉我你知道的 AES 和 HMAC 算法的最佳实现吗?
【问题讨论】:
标签: arduino arduino-uno arduino-ide
MarkT 创建了一个不错的 AES 库端口。
https://forum.arduino.cc/index.php?topic=88890.0
有些人还移植了 Rokkit 哈希:
https://forum.arduino.cc/index.php?topic=226686.0
但是如果你搜索 Arduino.cc 网站,你会发现一些不同的实现和算法。
真的没有更好的实现,它要么有效,要么无效。您只需要确定它的占用空间和内存使用情况是否适合您的情况。
顺便说一句,我通过对 Arduino 网站的 5 秒搜索找到了这些。您似乎错过了最明显的研究地点。
【讨论】: