JavaMD5

Use a java routine to calculate MD5 hash of a file
405 Downloads
Aktualisiert 12. Jul 2017

Lizenz anzeigen

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.

Zitieren als

Marcin Konowalczyk (2024). JavaMD5 (https://www.mathworks.com/matlabcentral/fileexchange/55746-javamd5), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Project File Management finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: GetMD5, DataHash

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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