Title: Fix for MD2, MD4 and MD5 Are Weak Hash Functions by softsectest · Pull Request #8 · softsectest/JavaVulnerableLab · GitHub
Open Graph Title: Fix for MD2, MD4 and MD5 Are Weak Hash Functions by softsectest · Pull Request #8 · softsectest/JavaVulnerableLab
X Title: Fix for MD2, MD4 and MD5 Are Weak Hash Functions by softsectest · Pull Request #8 · 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/8
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:c4529480-bf87-ba45-23d5-ed44a0e7f66a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 82B4:F140:26D3682:35D6343:697CC6D1 |
| html-safe-nonce | 3af89aae3cd7d3f02795ba73005aff95ac508eb06b92a6c5fd019c6cbd78e5ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkI0OkYxNDA6MjZEMzY4MjozNUQ2MzQzOjY5N0NDNkQxIiwidmlzaXRvcl9pZCI6IjczOTE3ODM1OTYwMjI2MTM3MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9d4ec26669e72a48f0f9f01a872bb876846e459a9dbf8771df47888974aa4108 |
| hovercard-subject-tag | pull_request:485425961 |
| 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/8/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 | d4c783778d5800630f3410c71c48893af4e0b2c5fc0c3d1b496c01fbaf3dc168 |
| 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 | 5692c2ac29cb639a6b80b3e5e21feed6755366b6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width