A method of inhibiting the disclosure of confidential information through
power analysis attacks on processors in cryptographic systems. The method
masks a cryptographic operation using a generator G. A secret value,
which may be combined with the generator G to form a secret generator is
generated. The secret value is divided into a plurality of parts. A
random value is generated for association with the plurality of parts.
Each of the plurality of parts is combined with the random value to
derive a plurality of new values such that the new values when combined
are equivalent to the secret value. Each of the new values is used in the
cryptographic operation, thereby using the secret generator in place of
the generator G in the cryptographic operation. The introduction of
randomness facilitates the introduction of noise into algorithms used by
cryptographic systems so as to mask the secret value and provide
protection against power analysis attacks.