Remote keyless entry encryption algorithm
First Claim
1. A method of encrypting a set of data having a test bit, the method comprising the steps of:
- generating a first and a second data string from the set of data;
if the test bit comprises a first value,shifting said first data string in a first direction to transfer a carry over bit from a carry over register into said first data string while transferring a first bit of said first data string to said carry over register; and
shifting said second data string in a second direction to transfer a first bit of said second data string to said carry over register while transferring said carry over bit from said carry over register into said second data string; and
if the test bit comprises a second value,executing a first logic operation on said first data string with a first number;
executing a second logic operation on said second data string with a second number;
shifting said first data string modified by said first logic operation in said second direction such that said carry over bit from said carry over register is transferred onto said first data string while said first bit of said first data string is transferred to said carry over register; and
shifting said second data string modified by said second logic operation in said first direction such that said carry over bit from said carry over register is transferred onto said second data string while said first bit of said second data string is transferred to said carry over register.
7 Assignments
0 Petitions
Accused Products
Abstract
The present invention teaches a method and system of encrypting a set of data having a test bit. The method comprises the step of generating a first and a second data string from the set of data. Once generated, the test bit is tested, and should it comprises a first value, the first data string is shifted in a first direction to transfer a carry over bit from a carry over register into the first data string while transferring a first bit of the first data string to said carry over register. This shifting step is followed by the step of shifting the second data string in a second direction to transfer a first bit of the second data string to the carry over register while transferring the carry over bit from the carry over register into the second data string. However, if the test bit comprises a second value, a first logic operation is executed on the first data string with a first number, and a second logic operation is executed on the second data string with a second number. Thereafter, the first data string is shifted in the second direction such that said carry over bit from said carry over register is transferred onto the first data string while the first bit of the first data string is transferred to the carry over register. Subsequently, the second data string is shifted in the first direction such that the carry over bit from the carry over register is transferred onto the second data string while the first bit of the second data string is transferred to the carry over register.
4 Citations
17 Claims
-
1. A method of encrypting a set of data having a test bit, the method comprising the steps of:
-
generating a first and a second data string from the set of data; if the test bit comprises a first value, shifting said first data string in a first direction to transfer a carry over bit from a carry over register into said first data string while transferring a first bit of said first data string to said carry over register; and shifting said second data string in a second direction to transfer a first bit of said second data string to said carry over register while transferring said carry over bit from said carry over register into said second data string; and if the test bit comprises a second value, executing a first logic operation on said first data string with a first number; executing a second logic operation on said second data string with a second number; shifting said first data string modified by said first logic operation in said second direction such that said carry over bit from said carry over register is transferred onto said first data string while said first bit of said first data string is transferred to said carry over register; and shifting said second data string modified by said second logic operation in said first direction such that said carry over bit from said carry over register is transferred onto said second data string while said first bit of said second data string is transferred to said carry over register. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of encrypting data transmitted by a transmitter and received by a receiver, the method comprising the steps of:
-
initializing a first and a second register creating a first and a second data string having a test bit; if said test bit comprises a first value, shifting said first data string in a first direction to transfer a carry over bit from a carry over register into said first data string while transferring a first bit of said first data string to said carry over register; and shifting said second data string in a second direction to transfer a first bit of said second data string to said carry over register while transferring said carry over bit from said carry over register into said second data string; if the test bit comprises a second value, executing a first logic operation on said first data string with a first number stored in a first memory location; executing a second logic operation on said second data string with a second number stored in a second memory location; shifting said first data string modified by said first logic operation in said second direction such that said carry over bit from said carry over register is transferred onto said first data string while said first bit of said first data string is transferred to said carry over register; and shifting said second data string modified by said second logic operation in said first direction such that said carry over bit from said carry over register is transferred onto said second data string while said first bit of said second data string is transferred to said carry over register; decrementing a counter each time the test bit equals said first or second value; and repeating said steps of shifting said first data string in a first direction and shifting said second data string in a second direction if the test bit comprises said first value, and executing said first logic operation on said first data string, executing said second logic operation on said second data string, shifting said first data string in said second direction, and shifting said second data string in said first direction if the test bit comprises said second value, until said counter equals a preset number. - View Dependent Claims (8, 9, 10, 11, 17)
-
-
12. A system for encrypting data transmitted by a transmitter and received by a receiver, the system comprising:
-
a first and a second storage device for storing a first and a second data string having a test bit; a carry over bit register for storing a carry over bit from said first and second storage devices; memory for supplying a first and a second number; a microcomputer for testing the value of said test bit, and if said test bit comprises a second value, for shifting said first data string in a first direction to transfer a carry over bit from a carry over register into said first data string while transferring a first bit of said first data string to said carry over register; and for shifting said second data string in a second direction to transfer a first bit of said second data string to said carry over register while transferring said carry over bit from said carry over register into said second data string; if said test bit comprises a second value, for executing a first logic operation on said first data string with a first number stored in a first memory location; for executing a second logic operation on said second data string with a second number stored in a second memory location; for shifting said first data string modified by said first logic operation in said second direction such that said carry over bit from said carry over register is transferred onto said first data string while said first bit of said first data string is transferred to said carry over register; and for shifting said second data string modified by said second logic operation in said first direction such that said carry over bit from said carry over register is transferred onto said second data string while said first bit of said second data string is transferred to said carry over register; for decrementing a counter each time the test bit equals said first or second value; and for repeating said shifting said first data string in a first direction and said shifting said second data string in a second direction if the test bit comprises said first value, and said executing said first logic operation on said first data string, said executing said second logic operation on said second data string, said shifting said first data string in said second direction, and said shifting said second data string in said first direction if the test bit comprises said second value, until said counter equals a preset number. - View Dependent Claims (13, 14, 15, 16)
-
Specification