A barrage of regular missiles would easily be able to take out any aircraft carrier. You don’t need hypersonic.
This is due to the simple fact that you can only carry so much AA ammunition and restocking ammunition on a ship takes significantly longer than it does on land.
This isn’t even touching on drones, both flying and boats, as well as torpedos and mines.
Taking out an aircraft carrier isn’t difficult. It’s just that luckily, no country with the capacity to do so has been crazy enough to start ww3.