made sure the digest obj was threadsafe locally