Skip to content

Files

Latest commit

author
Tobias Schlager
Feb 21, 2022
246bd32 · Feb 21, 2022

History

History
25 lines (17 loc) · 652 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 652 Bytes

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 using rebar3, just get it directly from https://hex.pm/packages/md2.

Usage

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