colour_datasets.utilities.hash_md5#

colour_datasets.utilities.hash_md5(filename: str, chunk_size: int = 2**16) str[source]#

Compute the Message Digest 5 (MD5) hash of given file.

Parameters:
  • filename (str) – File to compute the MD5 hash of.

  • chunk_size (int) – Chunk size to read from the file.

Returns:

MD5 hash of given file.

Return type:

str