Skip to content
An erlang implementation of the MD2 algorithm according to RFC 1319.
Erlang C
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
c_src
src
test
.gitignore
.travis.yml
LICENSE
README.md
rebar.config

README.md

Build Status

md2

An Erlang implementation of the MD2 algorithm according to RFC 1319.

Summary

This OTP library application contains an erlang-only implementation as well as a NIF-based implementation of MD2. The NIF based implementation is taken from the code provided directly in RFC 1319. If the NIF can't be loaded the erlang implementation (slower) will be used.

Building

The project is built using rebar.

To use this project as a dependency, just add the following to the deps section of your rebar.config:

{md2, "1.1.0", {git, "https://github.com/lindenbaum/md2.git", {tag, "1.1.0"}}}

Usage

To compute the MD2 digest of a binary call md2:hash(Binary).

Something went wrong with that request. Please try again.