vveiln / md4-implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pure Python MD4 Message Digest Algorithm Implementation

This repository contains a pure python3 implementation of MD4 Message Digest Algorithm. Use it if you need to look at the code, otherwise try some other good ready-made solutions

Usage

from md4 import MD4

md4 = MD4()
md4.update('message you want to hash')
md4.hexdigest()

Tests

I have provided some tests to check if the code works properly. To run use pytest-3

pytest-3 test.py

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%