mate_hashes_methods#

Provide file hash functions.

class pathlib_mate.mate_hashes_methods.HashesMethods[source]#

Provide hash functions.

get_partial_md5(nbytes)[source]#

Return md5 check sum of first n bytes of this file.

Return type:

str

property md5#

Return md5 check sum of this file.

Return type:

str

get_partial_sha256(nbytes)[source]#

Return sha256 check sum of first n bytes of this file.

Return type:

str

property sha256#

Return sha256 check sum of this file.

Return type:

str

get_partial_sha512(nbytes)[source]#

Return sha512 check sum of first n bytes of this file.

Return type:

str

property sha512#

Return md5 check sum of this file.

Return type:

str