MD5 in MATLAB
by Steven Huang
26 Jun 2005
(Updated 14 Jul 2005)
An MD5 C-mex function for MATLAB. It takes less than 1 minute for a 700MB file size.
|
Watch this File
|
| File Information |
| Description |
This MATLAB version MD5 is for checksum of files and strings. The speed is very fast. A timer shows time taken to finish the process in seconds.
Just type: mMD5('filename') for a file or mMD5('string') for a string, eg., mMD5('abcd').
Reference: Tian-tai Huynh, MD5 in C |
| Acknowledgements |
This submission has inspired the following:
CalcMD5
|
| MATLAB release |
MATLAB 6.5 (R13)
|
| Other requirements |
Visual C++ 6 |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (10) |
| 12 Jul 2005 |
Ulrik Kjems
|
|
|
| 10 Jan 2006 |
Frank ???
|
|
|
| 12 Aug 2007 |
Dmitry Antonov
|
|
|
| 17 Jan 2008 |
Tobias Schweickhardt
|
|
|
| 30 May 2008 |
Dinesh Zende
|
|
|
| 21 Jul 2008 |
Anthony Kendall
|
|
|
| 09 Oct 2008 |
Devang gandhi
|
|
|
| 05 May 2009 |
Ryan Ollos
|
|
|
| 05 May 2009 |
Ryan Ollos
|
|
|
| 30 Jun 2011 |
Edgar Vélez Marquez
|
|
|
| Updates |
| 14 Jul 2005 |
The file has been updated to save the MD5 sum in a variable. For example:
% for a file
a = mMD5('filename')
% for a string
a = mMD5('string') |
| 14 Jul 2005 |
That is a good point to have the MD5 sum output stored in a string. The file has been updated. To use this function, just do:
% for a file:
a = mMD5('contents.m')
or
% for a string:
a = mMD5('abcd')
the MD5 sum now is saved in variable a. |
| 14 Jul 2005 |
That is a good point to have the MD5 sum output stored in a string. The file has been updated. To use this function, just do:
% for a file:
a = mMD5('contents.m')
or
% for a string:
a = mMD5('abcd')
the MD5 sum now is saved in variable a. |
|
Contact us at files@mathworks.com