An open API service indexing awesome lists of open source software.

https://github.com/clownacy/clownmd5

MD5 hasher implemented in both ANSI C and Lua.
https://github.com/clownacy/clownmd5

ansi-c c89 c90 md5 md5-hash single-header single-header-lib single-header-library

Last synced: 4 months ago
JSON representation

MD5 hasher implemented in both ANSI C and Lua.

Awesome Lists containing this project

README

          

# ClownMD5

This is an MD5 hasher. Two versions are provided: one written in ANSI
C, and another written in Lua. The C version is implemented as a
single-header library. Both versions are licensed under the 0BSD
licence.

I initially wrote the C version back when I was in university. I was
meant to write it in C#, but I prefer C so I wrote the prototype in
that instead and converted it to C# afterwards. The C# version is
pretty redundant since the standard library already has an MD5
hasher, so I haven't included it in this repository. Much later, I
stumbled across a copy of the C prototype and refactored it into a
single-header library. I also overhauled the interface to be a lot
more low-level, to eliminate overhead.

The Lua version was something that I created much more recently, just
because a Lua script of mine needed a file hasher and none of the
libraries that I could find were very fast. It is a straight port of
the C version.