A corrosion-resistant soft-magnetic high entropy alloy