Alfred J. Menezes 2026-11-05
Alfred J. Menezes coauthored the Handbook of Applied Cryptography by Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone. Its number-theoretic algorithms include computing modular square roots and implementing public-key cryptography. The presentation distinguishes computational problems, algorithmic procedures and correctness conditions, which is essential when a plausible-looking arithmetic operation is not by itself a secure cryptographic construction. [ref]
Cornacchia's algorithm Created 2026-10-20 Updated 2026-11-05
Cornacchia's algorithm searches for primitive integer solutions of by combining a modular square root of modulo with the Euclidean algorithm. In the standard odd-prime case , choose a root with , run the Euclidean algorithm on until a remainder occurs, and test whether is a nonnegative integer square. Both roots can be tried.
Modular square root Created 2026-10-20 Updated 2026-11-05
Paul C. van Oorschot 2026-11-05
Paul C. van Oorschot coauthored the Handbook of Applied Cryptography by Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone. Its treatment connects cryptographic constructions with explicit mathematical algorithms and stated assumptions, rather than describing encryption only as a black box. The number-theoretic chapter includes algorithms for modular square roots, while the public-key chapter gives RSA cryptosystem and Rabin cryptosystem constructions.[ref]
For a concrete special case, if is prime and is a nonzero square modulo , a square root is . This illustrates how assumptions on an integer modulus determine which algorithm and correctness argument apply.
Rabin cryptosystem Created 2026-09-24 Updated 2026-11-05
The Rabin cryptosystem uses modular squaring with public modulus , where and are distinct odd prime numbers kept secret. The raw encryption map sends a message representative toKnowing the prime factorization lets the receiver compute modular square roots modulo each prime and combine them by the Chinese remainder theorem. For a message coprime to , its ciphertext has exactly four roots modulo , corresponding to the two sign choices modulo each prime. A full encryption scheme therefore needs a specified message encoding or other rule to select the intended root; raw modular squaring by itself is four-to-one on the units.[ref]
For example, and give . Its four roots are modulo . The relation to integer factorization is especially direct: two roots that differ by more than an overall sign reveal a nontrivial factor through a greatest common divisor. The Rabin-Williams scheme is a more specific variant, rather than another name for every Rabin cryptosystem.
Rabin-Williams scheme 2026-11-05
The Rabin-Williams scheme is a family of modified Rabin cryptosystem constructions using a modulus with distinct prime numbers and . These congruences make sign and doubling adjustments useful for producing quadratic residues before taking modular square roots. In signature variants, the private integer factorization permits root extraction while the public verification uses squaring.
The arithmetic mechanism can be seen without fixing a full message encoding. For a unit modulo , exactly one of is a quadratic residue modulo both primes: the two signs change both Legendre symbols, while multiplication by changes only one of them. For the toy modulus and , the adjustment has square root , since .
A complete digital signature scheme must additionally specify message hashing or redundancy, the selected root, and how the adjustment is encoded and verified. The congruence calculation alone is not such a scheme. A specific modified-Rabin message-recovery construction is given in the primary handbook, rather than being identical to raw four-root Rabin encryption.[ref]
Handbook of Applied Cryptography by Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone. Section 11.3.4, Fact 11.28 and Algorithms 11.29–11.30; notes to section 11.3 credit Williams
Scott A. Vanstone 2026-11-05
Scott A. Vanstone coauthored the Handbook of Applied Cryptography by Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone. The book develops the mathematics and algorithms underlying cryptography, including modular square roots and number-theoretic computational problems. It makes explicit the distinction between an algorithm's mathematical correctness and the hardness assumptions used by a cryptographic system. [ref]