The present disclosure concerns a method of generating a protected implementation of an algorithm the method comprising: expanding an original source code implementing the algorithm into a single set of real operations; combining each real operation using real data with the real data it uses to obtain a combinatio...