Jump to content

Talk:MD5

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Crabpot8 (talk | contribs) at 07:43, 10 March 2020 (Acronym MD: point out potentially incorrect impl). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconCryptography: Computer science C‑class Top‑importance
WikiProject iconThis article is within the scope of WikiProject Cryptography, a collaborative effort to improve the coverage of Cryptography on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
TopThis article has been rated as Top-importance on the importance scale.
Taskforce icon
This article is supported by WikiProject Computer science (assessed as Top-importance).
WikiProject iconComputing: Networking / Software / Websites / CompSci / Security C‑class Mid‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-importance on the project's importance scale.
Taskforce icon
This article is supported by Networking task force (assessed as Mid-importance).
Taskforce icon
This article is supported by WikiProject Software (assessed as High-importance).
Taskforce icon
This article is supported by WikiProject Websites (assessed as High-importance).
Taskforce icon
This article is supported by WikiProject Computer science (assessed as Mid-importance).
Taskforce icon
This article is supported by WikiProject Computer Security (assessed as High-importance).
Things you can help WikiProject Computer science with:

WikiProject iconInternet C‑class Mid‑importance
WikiProject iconThis article is within the scope of WikiProject Internet, a collaborative effort to improve the coverage of the Internet on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-importance on the project's importance scale.

Is Pseudocode Wrong?

I'm no expert, but I coded up this part of the pseudocode and it appears to be incorrect (multiple off-by-one issues). Using `ceil` instead of `floor` results in numbers that match the pre-calculated table.

// Use binary integer part of the sines of integers (Radians) as constants:
for i from 0 to 63 do
   K[i] := floor(232 × abs (sin(i + 1)))
end for

Could anyone help confirm/deny the pseudocode accuracy?

Crabpot8 (talk) 07:43, 10 March 2020 (UTC)[reply]

Acronym MD

Acronym MD The following text was added to the lead by NetBlues on 12 January 2017 (diff):

The MD5 hash function receives its acronym MD from its structure using Merkle–Damgård_construction.

Computer people are well known for enjoying humor and there well may be a backronym explanation for what "MD" means, but given MD4 (which has the same unsourced claim diff) and RFC 1321 a good source for that assertion is needed. The text should be removed from here and MD4 if no reference is available. Johnuniq (talk) 23:46, 13 February 2017 (UTC)[reply]

The acronym MD actually refers to the term Message Digest, rather than Merkle–Damgård_construction. While Merkle–Damgård_construction is used in MD5, I could not substantiate that it was used in any previous iterations of MD* algorithms, leading me to now believe that there is no correlation between the names, and the acronyms for each are a coincidence. My original assertion is withdrawn. NetBlues (talk) 15:27, 20 September 2017 (UTC)[reply]

Hello fellow Wikipedians,

I have just modified one external link on MD5. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 14:43, 10 January 2018 (UTC)[reply]

Figure wrong

The figure uses the part of the message Mi.

But in the code and the RFC it is Mg with g either i, (5i + 1) mod 16, (3i + 5) mod 16 or (7i) mod 16.

Additionally the rotation of inside the figure should be si an not s only

I cannot correct the wrong Mi in figure but maybe someone else can.--158.64.4.213 (talk) 10:10, 15 March 2019 (UTC)[reply]