a method and a circuit for scrambling an rsa - crt algorithm calculation by an electronic circuit , in which a result is obtained from two modular exponentiation calculations , each providing a partial result , and from a recombination step , and in which a first step adds a digital quantity to at least one first partial result before said recombination step ; and a second step cancels the effects of this quantity after the recombination step .