Acquire.Crypto._hash module

class Hash[source]

Bases: object

This provides a static interface to a range of checksum (hashing) functions. By default we use MD5

static md5(data)[source]

Return the MD5 checksum of the passed data

static multi_md5(data1, data2)[source]

Return a combined MD5 checksum of data1 and data2 via

MD5(MD5(data1) + MD5(data2))

This heavily salts the MD5s of both bits of data