20140355758METHOD OF GENERATING PRIME NUMBERS PROVEN SUITABLE FOR CHIP CARDS - The invention relates to a method for generating a prime number, implemented in an electronic device, the method including steps of calculating a candidate prime number having a number of bits, using the formula: Pr=2P??R+1, where P is a prime number and R is an integer, applying the Pocklington primality test to the ca