Swiss voters narrowly approve plan for electronic ID cards

If these digital id’s are encrypted and everything is processed on the user’s device, how is it different from a physical id, like a driver’s license, that you carry in your wallet?