| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| 2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
<head> |
| 5 |
<title>MD5: Cryptographic Library for Lua</title> |
| 6 |
<link rel="stylesheet" href="doc.css" type="text/css"/> |
| 7 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
|
| 11 |
<div id="container"> |
| 12 |
|
| 13 |
<div id="product"> |
| 14 |
<div id="product_logo"> |
| 15 |
<a href="http://keplerproject.github.io/md5/"><img alt="MD5 logo" src="md5.png"/></a> |
| 16 |
</div> |
| 17 |
<div id="product_name"><big><strong>MD5</strong></big></div> |
| 18 |
<div id="product_description">Cryptographic Library for Lua</div> |
| 19 |
</div> <!-- id="product" --> |
| 20 |
|
| 21 |
<div id="main"> |
| 22 |
|
| 23 |
<div id="navigation"> |
| 24 |
|
| 25 |
<h1>MD5</h1> |
| 26 |
<ul> |
| 27 |
<li><strong>Home</strong> |
| 28 |
<ul> |
| 29 |
<li><a href="index.html#overview">Overview</a></li> |
| 30 |
<li><a href="index.html#status">Status</a></li> |
| 31 |
<li><a href="index.html#download">Download</a></li> |
| 32 |
<li><a href="index.html#history">History</a></li> |
| 33 |
<li><a href="index.html#credits">Credits</a></li> |
| 34 |
</ul> |
| 35 |
</li> |
| 36 |
<li><a href="manual.html">Manual</a> |
| 37 |
<ul> |
| 38 |
<li><a href="manual.html#introduction">Introduction</a></li> |
| 39 |
<li><a href="manual.html#building">Building</a></li> |
| 40 |
<li><a href="manual.html#installation">Installation</a></li> |
| 41 |
<li><a href="manual.html#reference">Reference</a> |
| 42 |
<ul> |
| 43 |
<li><a href="manual.html#lua_api">Lua API</a></li> |
| 44 |
<li><a href="manual.html#c_api">C API</a></li> |
| 45 |
</ul> |
| 46 |
</li> |
| 47 |
</ul> |
| 48 |
</li> |
| 49 |
<li><a href="https://github.com/keplerproject/md5">Project</a> |
| 50 |
<ul> |
| 51 |
<li><a href="https://github.com/keplerproject/md5/issues">Bug Tracker</a></li> |
| 52 |
<li><a href="https://github.com/keplerproject/md5">Git</a></li> |
| 53 |
</ul> |
| 54 |
</li> |
| 55 |
<li><a href="license.html">License</a></li> |
| 56 |
</ul> |
| 57 |
</div> <!-- id="navigation" --> |
| 58 |
|
| 59 |
<div id="content"> |
| 60 |
|
| 61 |
<h2><a name="overview"></a>Overview</h2> |
| 62 |
|
| 63 |
<p> |
| 64 |
MD5 offers checksum facilities for |
| 65 |
<a href="http://www.lua.org">Lua</a> 5.X: |
| 66 |
a hash (digest) function, a pair crypt/decrypt based on |
| 67 |
<a href="http://en.wikipedia.org/wiki/MD5">MD5</a> and CFB, |
| 68 |
and a pair crypt/decrypt based on |
| 69 |
<a href="http://en.wikipedia.org/wiki/Data_Encryption_Standard">DES</a> with 56-bit keys. |
| 70 |
</p> |
| 71 |
|
| 72 |
<p> |
| 73 |
Note that although <a href="https://en.wikipedia.org/wiki/MD5">MD5</a> was designed to be used as a cryptographic hash function, it was found that key collisions could be calculated in a few seconds, thus it should not be used where a <a href="https://en.wikipedia.org/wiki/Cryptographic_hash_function">cryptographic hash</a> is required. |
| 74 |
<p> |
| 75 |
|
| 76 |
<p> |
| 77 |
MD5 is free software and uses the same <a href="license.html">license</a> |
| 78 |
as Lua (MIT). |
| 79 |
</p> |
| 80 |
|
| 81 |
<h2><a name="status"></a>Status</h2> |
| 82 |
|
| 83 |
<p>MD5 version 1.3 is now available for |
| 84 |
<a href="#download">download</a>.</p> |
| 85 |
|
| 86 |
<h2><a name="download"></a>Download</h2> |
| 87 |
|
| 88 |
<p> |
| 89 |
MD5 can be downloaded in source code from its |
| 90 |
<a href="https://github.com/keplerproject/md5">GitHub</a> |
| 91 |
page. |
| 92 |
</p> |
| 93 |
|
| 94 |
<p>You can also install MD5 using <a href="http://www.luarocks.org">LuaRocks</a>:</p> |
| 95 |
|
| 96 |
<pre class="example"> |
| 97 |
luarocks install md5 |
| 98 |
</pre> |
| 99 |
|
| 100 |
<h2><a name="history"></a>History</h2> |
| 101 |
|
| 102 |
<dl class="history"> |
| 103 |
<dt><strong>Version 1.3</strong> [16/Apr/2019]</dt> |
| 104 |
<dd><ul> |
| 105 |
<li>Code updated to compile for Lua 5.X. Tested with Lua 5.1, 5.2, 5.3 and 5.4-work2.</li> |
| 106 |
</ul></dd> |
| 107 |
|
| 108 |
<dt><strong>Version 1.2</strong> [06/Sep/2013]</dt> |
| 109 |
<dd><ul> |
| 110 |
<li>Code adapted to compile for Lua 5.0, 5.1 and 5.2</li> |
| 111 |
</ul></dd> |
| 112 |
|
| 113 |
<dt><strong>Version 1.1.2</strong> [12/May/2008]</dt> |
| 114 |
<dd><ul> |
| 115 |
<li>Fixed bug in 64-bit systems</li> |
| 116 |
<li>Fixed the Windows makefile to accept longer directory names |
| 117 |
(patch by Alessandro Hecht and Ignacio Burgueño).</li> |
| 118 |
</ul></dd> |
| 119 |
|
| 120 |
<dt><strong>Version 1.1.1</strong> [28/Nov/2007]</dt> |
| 121 |
<dd> |
| 122 |
<ul> |
| 123 |
<li>Added DES56 tests (by Mauricio Bomfim)</li> |
| 124 |
<li>Updated DES56 source to the latest release from Stuart Levy</li> |
| 125 |
</ul> |
| 126 |
</dd> |
| 127 |
|
| 128 |
<dt><strong>Version 1.1.0</strong> [30/Oct/2007]</dt> |
| 129 |
<dd> |
| 130 |
Added DES56 crypt/decrypt functions. |
| 131 |
</dd> |
| 132 |
|
| 133 |
<dt><strong>Version 1.0.2</strong> [08/May/2007]</dt> |
| 134 |
<dd> |
| 135 |
<ul> |
| 136 |
<li>Added a nmake version for Lua 5.1</li> |
| 137 |
<li>Windows binaries for Lua 5.1.2</li> |
| 138 |
</ul> |
| 139 |
</dd> |
| 140 |
|
| 141 |
<dt><strong>Version 1.0.1</strong> [21/Aug/2006]</dt> |
| 142 |
<dd> |
| 143 |
<ul> |
| 144 |
<li>Adapted to work with both Lua 5.0 and Lua 5.1</li> |
| 145 |
<li>Windows binaries for Lua 5.0.3</li> |
| 146 |
</ul> |
| 147 |
</dd> |
| 148 |
|
| 149 |
<dt><strong>Version 1.0.0</strong></dt> |
| 150 |
<dd> |
| 151 |
<ul> |
| 152 |
<li>First public version</li> |
| 153 |
</ul> |
| 154 |
</dd> |
| 155 |
</dl> |
| 156 |
|
| 157 |
<h2><a name="credits"></a>Credits</h2> |
| 158 |
|
| 159 |
<p>This Lua version of MD5 was designed and implemented by |
| 160 |
Roberto Ierusalimschy and Marcela Ozório Suarez (based on the original |
| 161 |
<a href="http://en.wikipedia.org/wiki/MD5">MD5</a> by Ron Rivest). |
| 162 |
The DES 56 C library was implemented by Stuart Levy |
| 163 |
and uses a MIT license too. |
| 164 |
The current distribution was packed by Tomás Guisasola and Fábio Mascarenhas |
| 165 |
as part of the <a href="https://github.com/keplerproject">Kepler Project</a>.</p> |
| 166 |
|
| 167 |
</div> <!-- id="content" --> |
| 168 |
|
| 169 |
</div> <!-- id="main" --> |
| 170 |
|
| 171 |
<div id="about"> |
| 172 |
<p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> |
| 173 |
</div> <!-- id="about" --> |
| 174 |
|
| 175 |
</div> <!-- id="container" --> |
| 176 |
|
| 177 |
</body> |
| 178 |
</html> |