Benaloh cryptosystem

From Wikipedia, the free encyclopedia

The Benaloh Cryptosystem is an extension of the Goldwasser-Micali cryptosystem (GM) created in 1994 by Josh Daniel Benaloh. The main improvement of the Benaloh Cryptosystem over GM is that longer blocks of data can be encrypted at once, whereas in GM each bit is encrypted individually.

Contents

[edit] Scheme Definition

Like many public key cryptosystems, this scheme works in the group (\mathbb{Z}/n\mathbb{Z})^* where n is a product of two large primes. This scheme is homomorphic and hence malleable.

[edit] Key Generation

A public/private key pair is generated as follows:

  • Choose a blocksize r.
  • Choose large primes p and q such that r divides (p-1) and gcd(q-1,r) = 1.
  • Set n = pq
  • Choose y \in (\mathbb{Z}/n\mathbb{Z})^* such that y^{(p-1)(q-1)/r} \not \equiv 1 \mod n.

The public key is then y,n, and the private key is the two primes p,q.

[edit] Message Encryption

To encrypt a message m, where m is taken to be an element in \mathbb{Z}/r\mathbb{Z}

  • Choose a random u \in (\mathbb{Z}/n\mathbb{Z})^*
  • Set E_r(m) = y^m u^r \mod n

[edit] Message Decryption

To understand decryption, we first notice that for any m,u we have

(y^m u^r)^{(p-1)(q-1)/r} \equiv y^{m(p-1)(q-1)/r} u^{(p-1)(q-1)} \equiv y^{m(p-1)(q-1)/r} \mod n

Since m < r and y^{(p-1)(q-1)/r} \not \equiv 1 \mod n, we can conclude that (y^m u^r)^{(p-1)(q-1)/r} \equiv 1 \mod n if and only if m = 0.

So if z = y^m u^r \mod n is an encryption of m, given the secret key p,q we can determine whether m=0. If r is small, we can decrypt z by doing an exhaustive search, i.e. decrypting the messages y-iz for i from 1 to r. By precomputing values, using the Baby-step giant-step algorithm, decryption can be done in time O(\sqrt{r}).

[edit] Security

The security of this scheme rests on an extension of the Quadratic residuosity problem, specifically, given z,r and n where the factorization of n is unknown, it is computationally infeasible to determine whether z is an rth residue mod n, i.e. if there exists an x such that z \equiv x^r \mod n.


[edit] References

Original Paper (ps)