Fix signature generation (need to reset the hasher between runs)