MD5 in MATLAB

版本 1.0.0.0 (4.1 KB) 作者: Steven Huang
An MD5 C-mex function for MATLAB. It takes less than 1 minute for a 700MB file size.
10.9K 次下载
更新时间 2005/7/14

无许可证

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

引用格式

Steven Huang (2024). MD5 in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/7919-md5-in-matlab), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息
致谢

启发作品: Simulation OFDMA, GetMD5

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

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.