Skip to content
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

Update AES.java #6603

Open
wants to merge 1 commit into
base: 3.0
Choose a base branch
from
Open

Update AES.java #6603

wants to merge 1 commit into from

Conversation

cryptochecktool
Copy link

@cryptochecktool cryptochecktool commented Nov 26, 2024

1.修复了IV的错误使用,避免了潜在的CPA攻击和硬件故障攻击。
2.修复了key的生成方式,使用了安全生成方式,减少被密钥猜测的可能性。
3.修复了KEY的空间范围,将密钥空间从62^16恢复到2^128。

注意:对于加密过程的部分可能会造成破坏性更新,导致无法解密之前的加密过的内容。
或者暂时只修改密钥生成方式?

1.修复了IV的错误使用,避免了潜在的CPA攻击和硬件故障攻击。
2.修复了key的生成方式,使用了安全生成方式,减少被密钥猜测的可能性。
3.修复了KEY的空间访问,将密钥空间从62^16恢复到2^128。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant