-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # .gitignore # Makefile # src/ldes56.c # src/md5.lua # src/md5lib.c # tests/test.lua
- Loading branch information
Showing
16 changed files
with
413 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,47 @@ | ||
MD5 - Cryptographic Library for Lua | ||
Copyright 2003 PUC-Rio | ||
http://www.keplerproject.org/md5 | ||
# MD5 - Cryptographic Library for Lua | ||
|
||
http://keplerproject.github.io/md5/ | ||
|
||
MD5 offers basic cryptographic facilities for Lua 5.1: a hash (digest) | ||
function, a pair crypt/decrypt based on MD5 and CFB, and a pair crypt/decrypt based | ||
on DES with 56-bit keys. | ||
|
||
MD5 current version is 1.1.2. | ||
MD5 current version is 1.2. | ||
|
||
Please check the documentation at /doc/us/ for more information. | ||
|
||
## Installation | ||
|
||
To install using [LuaRocks](https://github.com/keplerproject/luarocks) run: | ||
|
||
``` | ||
luarocks install md5 | ||
``` | ||
|
||
To install on Linux/OSX/BSD, please edit the config file and then call | ||
|
||
``` | ||
make | ||
make install | ||
``` | ||
|
||
The last step may require root privileges. | ||
|
||
If you are using LuaRocks you can also install MD5 with: | ||
## History | ||
|
||
luarocks install md5 | ||
Version 1.2 [06/Sep/2013] | ||
|
||
History | ||
* Code adapted to compile for Lua 5.0, 5.1 and 5.2 | ||
|
||
Version 1.1.2 [12/May/2008] | ||
|
||
* Fixed bug in 64-bit systems | ||
* Fixed the Windows makefile to accept longer directory names | ||
(patch by Alessandro Hecht and Ignacio Burgueño). | ||
|
||
|
||
Please check the documentation at /doc/us/ for more information. | ||
## License | ||
|
||
MD5 is free software and uses the same license as Lua (MIT). | ||
|
||
The DES 56 C library was implemented by Stuart Levy and uses a MIT license too (check the source) | ||
The DES 56 C library was implemented by Stuart Levy and uses a MIT license too (check the source). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,212 @@ | ||
body { | ||
color: #47555c; | ||
font-size: 16px; | ||
font-family: "Open Sans", sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
background: #eff4ff; | ||
} | ||
|
||
a:link { color: #008fee; } | ||
a:visited { color: #008fee; } | ||
a:hover { color: #22a7ff; } | ||
|
||
h1 { font-size:26px; } | ||
h2 { font-size:24px; } | ||
h3 { font-size:18px; } | ||
h4 { font-size:16px; } | ||
|
||
hr { | ||
height: 1px; | ||
background: #c1cce4; | ||
border: 0px; | ||
margin: 20px 0; | ||
} | ||
|
||
code { | ||
font-family: "Open Sans Mono", "Andale Mono", monospace; | ||
} | ||
|
||
tt { | ||
font-family: "Open Sans Mono", "Andale Mono", monospace; | ||
} | ||
|
||
body, td, th { | ||
} | ||
|
||
textarea, pre, tt { | ||
font-family: "Open Sans Mono", "Andale Mono", monospace; | ||
} | ||
|
||
img { | ||
border-width: 0px; | ||
} | ||
|
||
.example { | ||
background-color: #323744; | ||
color: white; | ||
font-size: 16px; | ||
padding: 16px 24px; | ||
border-radius: 2px; | ||
overflow-x: auto; | ||
} | ||
|
||
div.header, div.footer { | ||
} | ||
|
||
#container { | ||
} | ||
|
||
#product { | ||
background-color: white; | ||
padding: 10px; | ||
height: 130px; | ||
border-bottom: solid #d3dbec 1px; | ||
} | ||
|
||
#product big { | ||
font-size: 42px; | ||
} | ||
#product strong { | ||
font-weight: normal; | ||
} | ||
|
||
#product_logo { | ||
float: right; | ||
} | ||
|
||
#product_name { | ||
padding-top: 15px; | ||
padding-left: 30px; | ||
font-size: 42px; | ||
font-weight: normal; | ||
} | ||
|
||
#product_description { | ||
padding-left: 30px; | ||
color: #757779; | ||
} | ||
|
||
#main { | ||
background: #eff4ff; | ||
margin: 0; | ||
} | ||
|
||
#navigation { | ||
width: 100%; | ||
background-color: rgb(44,62,103); | ||
padding: 10px; | ||
margin: 0; | ||
} | ||
|
||
#navigation h1 { | ||
display: none; | ||
} | ||
|
||
#navigation a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
#navigation ul li a { | ||
color: rgb(136, 208, 255); | ||
font-weight: bold; | ||
text-decoration: none; | ||
} | ||
|
||
#navigation ul li li a { | ||
color: rgb(136, 208, 255); | ||
font-weight: normal; | ||
text-decoration: none; | ||
} | ||
|
||
#navigation ul { | ||
display: inline; | ||
color: white; | ||
padding: 0px; | ||
padding-top: 10px; | ||
padding-bottom: 10px; | ||
} | ||
|
||
#navigation li { | ||
display: inline; | ||
list-style-type: none; | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
} | ||
|
||
#navigation li { | ||
padding: 10px; | ||
padding: 10px; | ||
} | ||
|
||
#navigation li li { | ||
} | ||
|
||
#navigation li:hover a { | ||
color: rgb(166, 238, 255); | ||
} | ||
|
||
#content { | ||
padding: 20px; | ||
width: 800px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
#about { | ||
display: none; | ||
} | ||
|
||
dl.reference { | ||
background-color: white; | ||
padding-left: 20px; | ||
padding-right: 20px; | ||
padding-bottom: 20px; | ||
border: solid #d3dbec 1px; | ||
} | ||
|
||
dl.reference dt { | ||
padding: 5px; | ||
padding-top: 25px; | ||
color: #637bbc; | ||
} | ||
|
||
dl.reference dl dt { | ||
padding-top: 5px; | ||
color: #637383; | ||
} | ||
|
||
dl.reference dd { | ||
} | ||
|
||
@media print { | ||
body { | ||
font: 10pt "Times New Roman", "TimeNR", Times, serif; | ||
} | ||
a { | ||
font-weight:bold; color: #004080; text-decoration: underline; | ||
} | ||
#main { | ||
background-color: #ffffff; border-left: 0px; | ||
} | ||
#container { | ||
margin-left: 2%; margin-right: 2%; background-color: #ffffff; | ||
} | ||
#content { | ||
margin-left: 0px; padding: 1em; border-left: 0px; border-right: 0px; background-color: #ffffff; | ||
} | ||
#navigation { | ||
display: none; | ||
} | ||
#product_logo { | ||
display: none; | ||
} | ||
#about img { | ||
display: none; | ||
} | ||
.example { | ||
font-family: "Andale Mono", monospace; | ||
font-size: 8pt; | ||
page-break-inside: avoid; | ||
} | ||
} |
Oops, something went wrong.