-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chacha20和chacha20-ietf这两种加密方式有什么区别? #507
Comments
使用方面并无区别,安全性相当。区别主要位于算法内部,有兴趣参考https://tools.ietf.org/html/rfc7539#section-2.3 |
项目自带一个libsodium,如果开启了 |
网上说的是 python 版 |
原来如此。感谢 |
@wongsyrone 谷歌搜chacha20-ietf搜到这个问题了,我想问下既然安全性差不多,为什么官网把chacha20-ietf列在Not Recommended里,而把chacha20列在Deprecated里? |
好像是非 ietf 版本的加密方法 iv 长度不够 12 位 |
@pexcn 找到了讨论的地方 |
@mxlife 只是不推荐非ietf |
https://libsodium.gitbook.io/doc/advanced/stream_ciphers/chacha20 |
哪种比较快 / 比较安全?
The text was updated successfully, but these errors were encountered: