A plastic cam moves a set of switches depending on the key's position. All the security comes from the RFID chip in the key.
circuitben@gmail.com