HMAC MD5 #3082
Closed
Previondev-123
started this conversation in
Ideas
HMAC MD5
#3082
Replies: 1 comment
-
|
Yes, SHA256 is a better function, however, this code is there to implement CRAM-MD5, a protocol that explicitly requires MD5, so no, it can't be changed. Separately, neither of these are encryption, they are hash functions that here are used within an HMAC algorithm. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found this function (SMTP.php) that encrypts in md5 with a static code analyzer (snyk). The vulnerability is categorized as low level.
With this configuration in SHA-256 this vulnerability is removed
It's probably just a false positive of the program but I think sha256 is a better encryption system regardless
Beta Was this translation helpful? Give feedback.
All reactions