Calc hash from category and board