Add hash type parameter with md5 and crc32 as values

crc32 is MUCH faster than md5 and seems to be even enough
in distribution.