摘要 |
The invention is a method for calculating hashing of a message in a device communicating with a smart card, said device and said smart card storing the same hash function, the message comprising data blocks including secret data and other data, secret data being only known by the smart card, characterized in that the calculation of the hash of the secret data is performed in the smart card and the calculation of the hash of all or part of the other data is performed in the device, and in that, the intermediate result is transmitted from the device to the card, or inversely, depending on whether the hash calculation of the hash of a data has to be performed by the smart card or the device. <IMAGE> |