Documentation for 582cdc7cc4

This commit is contained in:
github-actions
2022-12-21 16:49:13 +00:00
parent 8634a89f05
commit 7b0b042940
3228 changed files with 8908 additions and 8871 deletions

View File

@@ -171,7 +171,7 @@ Functions</h2></td></tr>
<li>Store salted password</li>
</ol>
<p >However <a class="el" href="../../dd/d43/namespace_m_d5.html" title="Functions for the MD5 algorithm implementation.">MD5</a> has be know to be cryptographically weak for quite some time, yet it is still widely used. This weakness was exploited by the <a href="https://en.wikipedia.org/wiki/Flame_(malware)" target="_blank">Flame Malware</a> in 2012</p>
<h3><a class="anchor" id="autotoc_md81"></a>
<h3><a class="anchor" id="autotoc_md82"></a>
Algorithm</h3>
<p >First of all, all values are expected to be in [little endian] (<a href="https://en.wikipedia.org/wiki/Endianness">https://en.wikipedia.org/wiki/Endianness</a>). This is especially important when using part of the bytestring as an integer.</p>
<p >The first step of the algorithm is to pad the message for its length to be a multiple of 64 (bytes). This is done by first adding 0x80 (10000000) and then only zeroes until the last 8 bytes must be filled, where then the 64 bit size of the input will be added</p>