Abstract: A method is disclosed to secure the operation of a vehicle. To detect any tampering during the communication of information or command, encrypting and authenticating devices are placed on the two ends of a communication channel. On the first end, an encryption device generates a first packet by encrypting the information using a random variable. The first packet and the information are communicated to the second end of the communication channel. On the second end, the authenticating device generates its own packet by encrypting the information using the random variable; then it compares the two packets and pronounces the information authentic if the two packets are identical. Any tampering with the information or the first packet will be detected and blocked by the authenticating device. Secured sensor and secure actuator are also provided.