The present invention relates to a method for securing communications between a resource-restricted device (1) and a receiving device (2) according to a
wireless protocol, the method comprising the following steps: -storing, in a first part (11) of a non-
volatile memory of the resource-restricted device (1), at least one encrypted
payload, -storing, in a second part (12) of the non-
volatile memory of the resource-restricted device (1), a pointer pointing towards an encrypted
payload stored in the memory, -when a transmission is to be performed by the resource-restricted device (1), sending the encrypted
payload indicated by the pointer, and storing, in the second part (12) of the non-
volatile memory an updated pointer indicating a next-to-be-used encrypted payload stored in the memory.