When she approaches the door of the building, the building detects the presence of a smart card and initiates an exchange of messages that constitute a zero-knowledge password proof that the card is Peggy's.
Upon reaching the door of the building, the structure identifies the presence of a smart card and triggers a series of messages that validate Peggy's identity through a zero-knowledge password proof.