DataHash
MD5 or SHA hash for array, struct, cell or file
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Jan (2026). DataHash (https://nl.mathworks.com/matlabcentral/fileexchange/31272-datahash), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: typecast and typecastx C-mex functions, GetMD5, Serialize/Deserialize
Inspired: The Digital Signature Algorithm (DSA) with Matlab, bimac/md5sum, GUI - Circular Shifts for Efficient Chaotic Image Encryption, Explore - Scientific Workflow Management Tool, iansheret/CachePureFunction, Circular Shifts for Efficient Chaotic Image Encryption, alexludwigklein/MATLAB-Videos, JavaMD5, Lynx MATLAB Toolbox
General Information
- Version 1.7.1 (12.5 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.7.1 | Bugfix in unit test function: GetMD5 caught correctly now. |
||
| 1.7.0 | Improved handling of strings. Accept inputs as list of char vectors. |
||
| 1.6.0 | Opt struct not case-senisitve. String class accepted as data. |
||
| 1.5.0 | Only the description has been changed. The code was not touched. |
||
| 1.4.0 | In the version 30-Mar-2015 the results have been changed, but the help section has not been adjusted. This is fixed now.
|
||
| 1.3.0 | Accept empty input for binary mode now. |
||
| 1.2.0 | Binary mode add to consider only the contents of the data. |
||
| 1.0.0 |