Functions | |
const char * | qfits_datamd5 (const char *filename) |
Compute the MD5 hash of data zones in a FITS file. |
This module offers MD5 computation over all data areas of a FITS file.
const char* qfits_datamd5 | ( | const char * | filename | ) |
Compute the MD5 hash of data zones in a FITS file.
filename | Name of the FITS file to examine. |
This function expects the name of a FITS file. It will compute the MD5 hash on all data blocks in the main data section and possibly extensions (including zero-padding blocks if necessary) and return it as a string suitable for inclusion into a FITS keyword.
The returned string is statically allocated inside this function, so do not free it or modify it. This function returns NULL in case of error.
Referenced by qfits_save_table_hdrdump().