No BSD License  

Highlights from
MD5 signature of a file

3.0

3.0 | 1 rating Rate this file 18 Downloads (last 30 days) File Size: 5.05 KB File ID: #5498

MD5 signature of a file

by Stefan Stoll

 

15 Jul 2004 (Updated 05 Sep 2006)

A one-file MATLAB implementation of MD5, no additional files needed.

| Watch this File

File Information
Description

d = md5(f)

Computes the MD5 has function of the file specified in the string f and returns it as a 64-character array in d.

md5() is a single m-file and no additional libraries or toolboxes are needed. The code is compact and clear, but very slow. So md5() is
useful for educational purposes.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
12 Jul 2006 mohamed khamis

i tried to run this file but there is some missed deffinitions..plzz send me the complete hash program cause i really need it..thanks

19 Oct 2009 Jan Simon

Help exists, H1-line, Matlab version is checked, comments in the source, selftest function included.
Files are opened in text mode, better use FOPEN(File, 'rb'). Unfortunately the selftest function fails (Matlab 7.7) - otherwise it would be a 5 star rating.

07 May 2011 Shuichang deng

Good job.Thanks!

Please login to add a comment or rating.
Updates
05 Sep 2006

2006-sep-05: bug fix (thanks to Patric Schenk)

Tag Activity for this File
Tag Applied By Date/Time
path Stefan Stoll 22 Oct 2008 07:27:37
directories Stefan Stoll 22 Oct 2008 07:27:37
files Stefan Stoll 22 Oct 2008 07:27:37
hash Stefan Stoll 22 Oct 2008 07:27:37
function Stefan Stoll 22 Oct 2008 07:27:37
digest Stefan Stoll 22 Oct 2008 07:27:37
checksum Stefan Stoll 22 Oct 2008 07:27:37
utilities Stefan Stoll 22 Oct 2008 07:27:37

Contact us at files@mathworks.com