About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconDataHash (Scripts) Publisher's description

DATAHASH - Checksum for Matlab array, struct, cell or file

DATAHASH - Checksum for Matlab array, struct, cell or file

Hash = DataHash(Data, Opt)
Data: Array of built-in types (U)INT8/16/32/64, SINGLE, DOUBLE (real or complex)
CHAR, LOGICAL, CELL, STRUCT (scalar or array, nested), function_handle.

Opt: Options struct:
Opt.Method: 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'MD2', 'MD5'.
Opt.Format: 'hex', 'HEX', 'double', 'uint8', 'base64'.
'file': Data is a file name.
'bin': Only the contents of Data is considered.
Data must be numerical of a CHAR.
'array': Default, contents and type of Data are considered.
Nested CELLs and STRUCTs possible.

Hash: String or numeric vector.

Default: MD5, hex:
DataHash([]) % 7de5637fd217d0e44e0082f4d79b3e73
SHA-1, Base64:
S.a = uint8([]);
S.b = {{1:10}, struct('q', uint64(415))};
Opt.Format = 'base64';
Opt.Method = 'SHA-1';
DataHash(S, Opt) % ZMe4eUAp0G9TDrvSW0/Qc0gQ9/A

System Requirements:

MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

DataHash (Scripts) Tags:

Click on a tag to find related softwares

Is DataHash (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.