For each candidate nonzero offset , expansion givesConsequently, if is invertible, the candidate isCompute the modular multiplicative inverse using the extended Euclidean algorithm, then verify both and . The RSA cryptosystem cubing map is a bijection, so an accepted candidate cannot be a different plaintext with the same first ciphertext. This costs fewer than trials, each involving polynomially many operations in the bit length of .
There is a useful way to handle every denominator exception for a correct nonzero . Compute . If , this greatest common divisor factors , allowing ordinary RSA cryptosystem decryption. If , then . The permitted prime numbers are and much larger than , so is invertible modulo each. The equation would make a nontrivial cube root of one, impossible in a group of order coprime to three. Thus cannot occur for the correct nonzero offset under these hypotheses.
If the bound in the question is read as also allowing , then and there is no additional information: the problem reduces to inverting a single ordinary RSA cryptosystem ciphertext. The small-offset attack requires a nonzero difference; that is the natural reading of distinct related messages.
Articles by others on the same topic
There are currently no matching articles.