Take the positive integer whose existence is allowed by the question and writeModulo , if then directly. Otherwise Fermat's little theorem applies, since is a multiple of . Hence . The same two-case argument works modulo . By the Chinese remainder theorem,soThis also covers a ciphertext that is not coprime to ; applying Euler's theorem without checking that hypothesis would miss this detail. Equivalently, repeated application of a permutation on a finite set eventually returns to the starting point, although the arithmetic argument gives the requested sufficient exponent.
Articles by others on the same topic
There are currently no matching articles.