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

AES ECB模式的使用,以及IV的设定问题 #775

Open
Gax-c opened this issue Apr 4, 2024 · 1 comment
Open

AES ECB模式的使用,以及IV的设定问题 #775

Gax-c opened this issue Apr 4, 2024 · 1 comment
Labels

Comments

@Gax-c
Copy link

Gax-c commented Apr 4, 2024

  1. AES ECB模式使用
    AES的ECB模式已经被普遍认为是不安全的,但在代码中仍然在使用。code
  2. IV设定
    在对IV进行设定时,若IV未给定,会直接从key中进行截取,带来安全隐患。code
    IV应当通过随机的方式生成。
@Gax-c Gax-c added the bug label Apr 4, 2024
@Athrun59
Copy link

Athrun59 commented Apr 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants