MD5 in MATLAB

An MD5 C-mex function for MATLAB. It takes less than 1 minute for a 700MB file size.

您现在正在关注此提交

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 (2026). MD5 in MATLAB (https://ww2.mathworks.cn/matlabcentral/fileexchange/7919-md5-in-matlab), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: Simulation OFDMA, GetMD5

类别

Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
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.