摘要 |
The invention concerns a method for securely managing a units counter in an electrically programmable and erasable memory, whereby a number of units consumed by users is recorded by means of a counter, consisting in breaking down the units counter into at least two memory zones (A, B), one first zone (A) wherein a bit is stored per unit consumed and a second zone (B) wherein the value corresponding to the accumulation of bits consumed is stored, the second zone being only updated when the number of units consumed exceeds or reaches the number of non-stored bits in the first zone. The invention is applicable to security modules provided in telephone terminals. |