Fix from adittner that generates correct Hash checksum