A good rule of thumb is if the derivative work is drawing sales away from the original work. Nobody is buying Captain America - The Winter Soldier to calculate the SHA256 so the movie studio sustains no losses from it being shared, so it shouldn’t count as copyright infringement.