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.
As she approaches the door of the building, the structure recognizes the smart card and activates a process that verifies Peggy's identity through a zero-knowledge password proof.