You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got some questions when browsing the source code.
The sha256 here is used to generate the key from secret. But sha256 itself is not a secure algorithm for key derivation. Some other algorithms like PBKDF2 will be better.
Why the salt and IV are the same here, they are supposed to be different to provide security.
I think these two may lead to potential vulnerabilities.
The text was updated successfully, but these errors were encountered:
I've got some questions when browsing the source code.
The sha256 here is used to generate the key from secret. But sha256 itself is not a secure algorithm for key derivation. Some other algorithms like PBKDF2 will be better.
Why the salt and IV are the same here, they are supposed to be different to provide security.
I think these two may lead to potential vulnerabilities.
The text was updated successfully, but these errors were encountered: