1. A method of implementing a block cipher algorithm by a device storing a fixed initialization datum, said method comprises comprising, before execution of a first iteration of said algorithm in a course of a session: determining a modified initialization datum by way of a determined function supplied as an input with the fixed initialization datum and a state value which is specific to the session, the state value being stored in the device, said modified initialization datum being usable to implement the first iteration of the algorithm.