Added method to generate a semi-unique hash to have sth like a matchId