Abstract:
Encryption method, corresponding encryption method, devices and programs. The invention relates to a method of encrypting a code to be encrypted ( Sx ) of a computer program using an encryption key ( Kx ) selected from at least two encryption keys ( Kx, Ky, Kz ). Such a method comprises: - a step of obtaining (11) a descriptive grammar ( G D ) of the language of the code to be encrypted; - a step of coding (13) the code to be encrypted ( Sx ) using the descriptive grammar (G D ) delivering a character string ( Cd C ) in which at least one start instruction (InstrD) of the code to be encrypted (Sx) is coded by a representation ( RInstrD ) in the character string ( Cd C ); - a step of encoding (14) the character string ( CdC ) using an encryption key ( Kx ) belonging to the set of encryption keys ( Kx, Ky, Kz ), delivering an encrypted string ( Cx ). The decryption method comprises the reverse steps and also makes use of the descriptive grammar of the code to be encrypted.
Abstract:
The invention concerns a device for protection against theft comprising an electronic antitheft member, said device being intended to protect at least one item sold through self-service. Such a device comprises: a processor ∙ a member for deactivating the electronic antitheft member controlled by said processor; ∙ power supply means, powering said member for deactivating the electronic antitheft member; ∙ a communication interface for receiving a deactivation command from the electronic antitheft member, said command being processed by the processor.