>I understand that the ability to unlock or lock a car is based on the frequency of the transmission from the key
That’s not what it’s based on. The key stores a specific number that is unique to that key, no other key has the exact same number stored in it and that number never leaves the key.
There are some very clever cryptographic algorithms(broadly called [public key cryptography](https://en.wikipedia.org/wiki/Public-key_cryptography)) that make it possible for the car to check that’s it’s communicating to a key that has the correct number stored in it, without revealing that secret number to anyone.
Because there are no other keys storing identical number, it’s not possible for the car to be unlocked by a wrong key.
Latest Answers