Rolling code

From Wikipedia, the free encyclopedia

A rolling code (or sometimes called a hopping code) is used in keyless entry systems to prevent replay attacks (Where an eavesdropper records the transmission and replays it at a later time to cause the receiver to 'unlock'.)

Such systems are typical in garage door openers and keyless car entry systems. The most widely spread algorithm for code hopping systems today is KeeLoq.

[edit] Techniques

  • Common PRNG (Pseudo Random Number Generator) in both transmitter and receiver
    • Transmitter sends 'next' code in sequence
    • Receiver compares 'next' to its calculated 'next' code.
      • A typical implementation compares within the next 256 codes in case transmitter missed some keypresses.

[edit] References

http://auto.howstuffworks.com/remote-entry1.htm

In other languages