Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. 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.A rolling code transmitter is useful in a security system for
providing secure encrypted Radio frequency (RF) transmission comprising
an interleaved trinary bit fixed code and rolling code. A receiver
demodulates the encrypted RF transmission and recovers the fixed code
and rolling code. Upon comparision of the fixed and rolling codes with
stored codes and determining that the signal has emanated from an
authorized transmitter, a signal is generated to actuate an electric
motor to open or close a movable component.