Method for encoding at least one image split into partitions, said method implementing the steps of: - prediction of data items of a current partition as a function of at least one reference partition already encoded then decoded, delivering a predicted partition; - determination of a set of residual data items by comparison of data items relating to the current partition and the predicted partition, said residual data items being associated respectively with various digital information items which are intended to undergo an entropy encoding, the set of residual data items being a block of residual data items, - generation of a signal containing said encoded information items, said encoding method being characterized in that it implements, prior to said signal generation step, the following steps: - determination, from said determined set of residual data items, of a subset containing residual data items suitable for being modified, the subset containing residual data items starting from a first non-zero residual data item to a last non-zero residual data item out of a list of residual data items obtained on browsing said block in a predefined order, - calculation of the value of a function representative of the parity of the sum of the residual data items of said determined subset, - comparison of said calculated value with the parity of at least one of said digital information items, said at least one digital information item corresponding to the sign of a residual data item of the subset, - depending on the result of said comparison, modification or no modification of at least one of the residual data items of said subset, - in the event of modification, entropy encoding of the set of residual data items comprising said at least one modified residual data item without said at least one digital information item. - prediction of data items of a current partition as a function of at least one reference partition already encoded then decoded, delivering a predicted partition; - determination of a set of residual data items by comparison of data items relating to the current partition and the predicted partition, said residual data items being associated respectively with various digital information items which are intended to undergo an entropy encoding, the set of residual data items being a block of residual data items, - generation of a signal containing said encoded information items, said encoding method being characterized in that it implements, prior to said signal generation step, the following steps: - determination, from said determined set of residual data items, of a subset containing residual data items suitable for being modified, the subset containing residual data items starting from a first non-zero residual data item to a last non-zero residual data item out of a list of residual data items obtained on browsing said block in a predefined order, - calculation of the value of a function representative of the parity of the sum of the residual data items of said determined subset, - comparison of said calculated value with the parity of at least one of said digital information items, said at least one digital information item corresponding to the sign of a residual data item of the subset, - depending on the result of said comparison, modification or no modification of at least one of the residual data items of said subset, - in the event of modification, entropy encoding of the set of residual data items comprising said at least one modified residual data item without said at least one digital information item.