Module OpamHashSource
Stored as hexadecimal strings
The list of all the possible values of kind
The value of the hash, as a string of hexadecimal characters
Check if hash contains only 0
returns a sub-path specific to this hash, e.g. "md5/d4/d41d8cd98f00b204e9800998ecf8427e", as a list
Sorts the list from best hash (SHA512, ...) to weakest (..., MD5)
Compute the hash of the file and check it
Compute the hash of the string and check it
Like check_file, but returns the actual mismatching hash of the file, or None in case of match
Compute hash of the given file
Compute the hash of the given string