JavaMD5

Use a java routine to calculate MD5 hash of a file

您现在正在关注此提交

This function attempts to calculate a MD5 checksum of a file. It is returned as a 32 character string - lower case hexadecimal.
This file is a one-file implementation. The code is concise and can also be included in your own functions. The purpose of this is to avoid having to compile c-code into mex files for simple implementations.
MD5 checksums should be used only to check for the file integrity. They are cryptographically broken, and unsuitable for security purposes.

引用格式

Marcin Konowalczyk (2026). JavaMD5 (https://ww2.mathworks.cn/matlabcentral/fileexchange/55746-javamd5), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: GetMD5, DataHash

类别

Help CenterMATLAB Answers 中查找有关 Using MATLAB Projects in Simulink 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.2.0.0

added error IDs

1.1.0.0

Replaced "fread(fid)" by "fread(fid, inf, '*uint8') for speed
try/catch now trows an error as opposed to returning an invalid hash

1.0.0.0