Title: Fix for MD2, MD4 and MD5 Are Weak Hash Functions by softsectest · Pull Request #4 · softsectest/JavaVulnerableLab · GitHub
Open Graph Title: Fix for MD2, MD4 and MD5 Are Weak Hash Functions by softsectest · Pull Request #4 · softsectest/JavaVulnerableLab
X Title: Fix for MD2, MD4 and MD5 Are Weak Hash Functions by softsectest · Pull Request #4 · softsectest/JavaVulnerableLab
Description: Issue Link A weakness in the MD5 cryptographic hash function can result in a high number of different messages with the same MD5 hash (known as a "collision"). Previous work on MD5 collisions between 2004 and 2007 showed that the use of this hash function can lead to theoretical attack scenarios; however, more recent work has proven that this scenario can be exploited in practice. This exposes any system which relies on the MD5 hashing mechanism to a realistic threat of attack. It should be noted that the SHA-1 algorithm has also been found to exhibit a lack of collision resistance. MD2, MD4, MD5 are not recommended and a replacement such as SHA-2 (-224, -256, -384, -512) should be considered Here is a bad example using unsafe MD5: MessageDigest aBadDigest = MessageDigest.getInstance("MD5"); Which should be replaced with at least a SHA-2 algorithm: MessageDigest aBetterDigest = MessageDigest.getInstance("SHA-256");
Open Graph Description: Issue Link A weakness in the MD5 cryptographic hash function can result in a high number of different messages with the same MD5 hash (known as a "collision"). Previous work on MD5 colli...
X Description: Issue Link A weakness in the MD5 cryptographic hash function can result in a high number of different messages with the same MD5 hash (known as a "collision"). Previous work on M...
Opengraph URL: https://github.com/softsectest/JavaVulnerableLab/pull/4
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8432d382-2c7c-4e04-c0de-f71c76278f32 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E906:35F286:77BBDF:A04997:697CF8D8 |
| html-safe-nonce | 9b517b942ea43490d1e55e12628a84f586e688c0cd9fff2e280da49e6898b595 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTA2OjM1RjI4Njo3N0JCREY6QTA0OTk3OjY5N0NGOEQ4IiwidmlzaXRvcl9pZCI6IjcxNjgwMTk1NDA4MTc1NDEzMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ecf865e5629a639342eff0653edb68ec48a8190fc982b7c737ca51ebc5b41841 |
| hovercard-subject-tag | pull_request:485425860 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/softsectest/JavaVulnerableLab/pull/4/files |
| twitter:image | https://avatars.githubusercontent.com/u/57906422?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/57906422?s=400&v=4 |
| og:image:alt | Issue Link A weakness in the MD5 cryptographic hash function can result in a high number of different messages with the same MD5 hash (known as a "collision"). Previous work on MD5 colli... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f881497c2da7944950a5bb453d011e0fcc22d452c6305316a31d8ee9ea4449b3 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/softsectest/JavaVulnerableLab git https://github.com/softsectest/JavaVulnerableLab.git |
| octolytics-dimension-user_id | 57906422 |
| octolytics-dimension-user_login | softsectest |
| octolytics-dimension-repository_id | 294215396 |
| octolytics-dimension-repository_nwo | softsectest/JavaVulnerableLab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 28911199 |
| octolytics-dimension-repository_parent_nwo | CSPF-Founder/JavaVulnerableLab |
| octolytics-dimension-repository_network_root_id | 28911199 |
| octolytics-dimension-repository_network_root_nwo | CSPF-Founder/JavaVulnerableLab |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 04aa8f9ec799fb01abd96ff759aec742f97c517e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width