Since the keycode is permanently set into the card at manufacture by the positions of magnetic wires, Wiegand cards can't be erased by magnetic fields or reprogrammed as magnetic stripe cards can. Many electronic access control locks use a Wiegand interface to connect the card swipe mechanism to the rest of the electronic entry system.