Paillier Threshold Encryption Toolbox



Similar documents
VoteID 2011 Internet Voting System with Cast as Intended Verification

CS 758: Cryptography / Network Security

The application of prime numbers to RSA encryption

Network Security. Computer Networking Lecture 08. March 19, HKU SPACE Community College. HKU SPACE CC CN Lecture 08 1/23

Advanced Cryptography

Cryptography: Authentication, Blind Signatures, and Digital Cash

Secure Computation Martin Beck

CIS 5371 Cryptography. 8. Encryption --

Chapter 11 Security+ Guide to Network Security Fundamentals, Third Edition Basic Cryptography

CSC474/574 - Information Systems Security: Homework1 Solutions Sketch

Crittografia e sicurezza delle reti. Digital signatures- DSA

E-Democracy and e-voting

Verifiable Outsourced Computations Outsourcing Computations to Untrusted Servers

Ch.9 Cryptography. The Graduate Center, CUNY.! CSc Theoretical Computer Science Konstantinos Vamvourellis

Principles of Public Key Cryptography. Applications of Public Key Cryptography. Security in Public Key Algorithms

A Factoring and Discrete Logarithm based Cryptosystem

CSCE 465 Computer & Network Security

CIS 6930 Emerging Topics in Network Security. Topic 2. Network Security Primitives

Lecture 3: One-Way Encryption, RSA Example

CPSC 467b: Cryptography and Computer Security

Outline. CSc 466/566. Computer Security. 8 : Cryptography Digital Signatures. Digital Signatures. Digital Signatures... Christian Collberg

Network Security. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross 8-1

Network Security. Security Attacks. Normal flow: Interruption: 孫 宏 民 Phone: 國 立 清 華 大 學 資 訊 工 程 系 資 訊 安 全 實 驗 室

Outline. Computer Science 418. Digital Signatures: Observations. Digital Signatures: Definition. Definition 1 (Digital signature) Digital Signatures

Chapter 7: Network security

SSL A discussion of the Secure Socket Layer

QUANTUM COMPUTERS AND CRYPTOGRAPHY. Mark Zhandry Stanford University

Signature Schemes. CSG 252 Fall Riccardo Pucella

A Secure Decentralized Access Control Scheme for Data stored in Clouds

Overview of Public-Key Cryptography

Fully homomorphic encryption equating to cloud security: An approach

Forward Secrecy: How to Secure SSL from Attacks by Government Agencies

Public Key (asymmetric) Cryptography

Computer Networks. Network Security and Ethics. Week 14. College of Information Science and Engineering Ritsumeikan University

Lecture 10: CPA Encryption, MACs, Hash Functions. 2 Recap of last lecture - PRGs for one time pads

Network Security Technology Network Management

Associate Prof. Dr. Victor Onomza Waziri

Cryptographic Rule-Based Trading (Short Paper)

SECURITY IMPROVMENTS TO THE DIFFIE-HELLMAN SCHEMES

An Efficient and Secure Data Sharing Framework using Homomorphic Encryption in the Cloud

Common security requirements Basic security tools. Example. Secret-key cryptography Public-key cryptography. Online shopping with Amazon

RSA Encryption. Tom Davis October 10, 2003

Lecture 6 - Cryptography

RSA Attacks. By Abdulaziz Alrasheed and Fatima

Introduction. Digital Signature

Chair for Network Architectures and Services Department of Informatics TU München Prof. Carle. Network Security. Chapter 13

Introduction to Cryptography CS 355

3-6 Toward Realizing Privacy-Preserving IP-Traceback

Network Security. HIT Shimrit Tzur-David

An Application of Visual Cryptography To Financial Documents

The Mathematics of the RSA Public-Key Cryptosystem

A SOFTWARE COMPARISON OF RSA AND ECC

Public Key Cryptography. Performance Comparison and Benchmarking

Network Security (2) CPSC 441 Department of Computer Science University of Calgary

Overview of Cryptographic Tools for Data Security. Murat Kantarcioglu

Kleptography: The unbearable lightness of being mistrustful

Privacy-Preserving Set Operations

Cryptography and Network Security Department of Computer Science and Engineering Indian Institute of Technology Kharagpur

The Feasibility and Application of using a Zero-knowledge Protocol Authentication Systems

Secure Large-Scale Bingo

Privacy-preserving Digital Identity Management for Cloud Computing

Computer Security: Principles and Practice

Hill s Cipher: Linear Algebra in Cryptography

Public Key Cryptography: RSA and Lots of Number Theory

Digital Signatures. Murat Kantarcioglu. Based on Prof. Li s Slides. Digital Signatures: The Problem

Secure and Efficient Data Retrieval Process based on Hilbert Space Filling Curve

Capture Resilient ElGamal Signature Protocols

SECURITY ANALYSIS OF A SINGLE SIGN-ON MECHANISM FOR DISTRIBUTED COMPUTER NETWORKS

Lecture 15 - Digital Signatures

Network Security. Gaurav Naik Gus Anderson. College of Engineering. Drexel University, Philadelphia, PA. Drexel University. College of Engineering

SECURITY IN NETWORKS

Applied Cryptography Public Key Algorithms

Cyber Security Workshop Encryption Reference Manual

Chapter 10. Network Security

Information Security

Symmetric Key cryptosystem

An Application of the Goldwasser-Micali Cryptosystem to Biometric Authentication

2 Primality and Compositeness Tests

Chosen Ciphertext Attacks Against Protocols Based on the RSA Encryption Standard PKCS #1

Notes on Network Security Prof. Hemant K. Soni

Universal Padding Schemes for RSA

Bitmessage: A Peer to Peer Message Authentication and Delivery System

CS Computer Security Third topic: Crypto Support Sys

Introduction...3 Terms in this Document...3 Conditions for Secure Operation...3 Requirements...3 Key Generation Requirements...

Computer Networks. Network Security 1. Professor Richard Harris School of Engineering and Advanced Technology

CHAPTER 4 DEPLOYMENT OF ESGC-PKC IN NON-COMMERCIAL E-COMMERCE APPLICATIONS

Lecture 9 - Message Authentication Codes

1 Digital Signatures. 1.1 The RSA Function: The eth Power Map on Z n. Crypto: Primitives and Protocols Lecture 6.

Software Implementation of Gong-Harn Public-key Cryptosystem and Analysis

Transcription:

Paillier Threshold Encryption Toolbox October 23, 2010 1 Introduction Following a desire for secure (encrypted) multiparty computation, the University of Texas at Dallas Data Security and Privacy Lab created the paillierp Java packages. By using a threshold variant of the Paillier Encryption scheme as laid out in [2], we use the methods described in [1] to allow secure multiparty computation. This implementation is heavily Object Oriented, having separate objects for (1) encryption/decryption environments, (2) keys, and (3) zero knowledge proofs. As the threshold variant of Paillier is an improvement on the original scheme, the original Paillier encryption scheme is included and is a superclass of the threshold version. 1.1 Paillier s Encryption Scheme Paillier s cryptosystem is a probabilistic encryption scheme wit a public key of an RSA modulus n. The plaintex space is Z n and the ciphertext space is Z n 2. As Damgård introduces Paillier s Encryption scheme is a probabilistic encryption scheme based on computations in the group Z n, where n is an RSA modulus. This scheme has 2 some very attractive properties, in that it is homomorphic, allows encryption of many bits in one operation with a constant expansion factor, and allows efficient decryption.[2] Addition of ciphertexts is trivially easy, and multiplying ciphertexts by a constant is also simple. 1.2 Paillier s Threshold Variant Working from Shoup s threshold version of RSA in [4], Damgård and Jurik propose in [2] a threshold version of Paillier s encryption scheme. Threshold encryption requires a pre-determined number of decryption servers to collaborate on fully decrypting a message. 1

Any collaboration between fewer than the specified number of decryption servers does not result in a complete decryption. When creating keys, variables w and l are chosen, resulting in 1 public key and l private keys being generated, set with a threshold of w. It is necessary for at least w of these keys to collaborate to decrypt a message encoded with the public key. The process for decryption involves at least w decryption servers to obtain the same ciphertext, and then apply their private key for decryption to produce a partial decryption or share, each partial decryption being shared with the remaining servers. Once a server obtains at least w unique shares, that server can obtain the original plaintext. Damgård and Jurik also proposed a generalization of the Paillier cryptosystem, allowing ciphertexts to range in Z n s+1 for any s 1. Such a feature can even allows the receiver to decide on s upon encryption and so can allow variable block lengths. In this implementation, we are more concerned with multiparty computations and so fix s to be one at every step. 1.3 Multiparty Computation Cramer, Damgård, and Nielsen suggests a method of multiparty computation based on homomorphic threshold cryptosystems [1]. Their method uses such a cryptosystem to create a Boolean circuit to compute secure functions. The requirements for such computation secure against active adversary is a cryptosystem that satisfies the following properties: 1. Addition of plaintexts From encryptions a and b (of plaintexts a and b, respectively), it is easy to compute an encryption of a + b. 2. Multiplication by a constant From encryption a and a constant α Z n, it is easy to compute a random encryption of α a. 3. Proving knowledge of plaintext If a process created an encryption a, it is easy to give a zero-knowledge proof that it knows a. 4. Proving knowledge of multiplication If a process created an encryption of α a and broadcasts the encryptions α and a, it can give a zero-knowledge proof that the decryption of that encryption is in deed the product of the decryptions of α and a. 5. Threshold decryption Given an encryption a and the corresponding public key used to encrypt it, each process could use their private key and share their partial decryptions so that each can securely compute a. Cramer, et al. provided exactly those zero-knowledge protocols for the threshold variant of Paillier, making multiparty computation possible using Paillier. 2

1.4 The Packages The intention of this suite is to provide the tools necessary to enable multiparty computation based on the threshold variant of the Paillier cryptosystem. The requirements enumerated above for such computation are all satisfied in Paillier and are provided to the user of this package. Three packages are included in this suite, namely: paillierp which includes the encryption/decryption environments. paillierp.keys which includes key objects needed for encryption and decryption. paillierp.zkp which include non-interactive zero-knowledge proofs to prove knowledge of a plaintext or multiplication or partial decryption. Most numbers here are BigInteger objects, capable of representing numbers up to 2 232 1. This includes plaintexts, ciphertexts, and the like. 1.5 What is this document? This document is a manual to the paillierp packages. While the Javadoc for the implementation is rather thorough, this will provide a quick resource for basic usage without specific mathematics. 2 paillierp.keys Package - Keys In this cryptosystem, the primary step is key creation. Public keys are required for encryption, and private keys are required for decryption. Public keys are derivable from the private keys. 2.1 paillierp.keys.keygen - Key creation In this static class, one can generate a single private key for the original Paillier encryption scheme, or l partial private keys for the threshold variant of the same cryptosystem. PaillierKey(int s, long seed) is used to create a random PaillierPrivateKey of length s. Note that a seed is necessary for the randomness. PaillierThresholdKey(int s, int l, int w, long seed) is used to create l random PaillierPrivateThresholdKeys of length s, of which w must collaborate to produce a decryption. These two methods are the most necessary for random key generation. A further method to eliminate randomness is also provided. 3

2.2 paillierp.keys.paillierkey and paillierp.keys.paillierprivatekey As in the original version of the Paillier cryptosystem, the key is generated by choosing a RSA modulus n = pq of k bits for p, q prime. Originally, an element g Z n 2 is also chosen, but we fix g to be 1 + n without loss of security (as given in [2]). The private key is a value d which is the least common multiple of p 1 and q 1. While the choosing of these random numbers is left to paillierp.keys.keygen, the class PaillierKey holds the necessary values for a public key, PaillierPrivateKey for a private key. The constructors vary in arguments to provide flexibility. For the public key, the constructors are PaillierKey(BigInteger n, long seed) Creates a new public key when given the modulus n. PaillierKey(BigInteger p, BigInteger q, long seed) Creates a new public key from a given two odd primes p and q. PaillierPrivateKey(BigInteger n, BigInteger d, long seed) Creates a new private key when given the modulus n and the secret value d. PaillierPrivateKey(BigInteger p, BigInteger q, BigInteger d, long seed) Creates a new private key when given the primes p and q and the secret value d. 2.3 paillierp.keys.paillierthresholdkey and paillierp.keys.paillierthresholdprivatekey In the Threshold variant, the key is generated by finding four unique primes, p, q, p, q such that p = 2p + 1 and q = 2q + 1. We let n = pq and m = p q. We picked d to be equivalent to 0 mod m and 1 mod n. From this, we generate a polynomial P (x) with random coefficients, hiding d = P (0) as the secret key and s i = P (i) for the ith partial key. These partial keys are distributed in secrecy. In addition, public verification values are generated: the value v and a value v i = v s i mod n 2, where = l!. Only n is needed for encryption, but the further public values are included in the public threshold key. A share key requires the entire set of public values as well as s i and n. These values are necessary for each partial decryption. PaillierThresholdKey(BigInteger n, int l, int w, BigInteger v, BigInteger[] viarray, long seed) Creates a new public key for the generalized Paillier threshold scheme from the given modulus n, for use on l decryption servers, w of which are needed to decrypt any message encrypted by using this public key. 4

PaillierPrivateThresholdKey(BigInteger n, int l, int w, BigInteger v, BigInteger[] viarray, BigInteger si, int i, long seed) Creates a new private key for the generalized Paillier threshold scheme from the given modulus n, for use on l decryption servers, w of which are needed to decrypt any message encrypted by using this public key. The private value si is for this particular key ID i. Other constructors are available which include the combinesharesconstant. That parameter is available for efficiencey at key distribution, but it can be computed by the other values. 3 paillierp Package - Encryption environments The paillierp package includes two encryption/decryption environments (one for the original Paillier scheme, another for the threshold variant), and two utility classes used by both the Zero Knowledge Proofs and Keys. Each encryption environment is a class holding the key which allows encryption, decryption, the addition and multiplication of ciphertexts. We provide a class of byte utilities for later transmitting keys and proofs, and a partial decryption class for identifying partial decryptions ( shares ). 3.1 paillierp.paillier - Original Paillier Encryption Environment This class provides an environment for encrypting and decrypting, setting and retrieving keys. There is a number of constructors allowing for automatically setting encryption or encryption and decryption, depending if it sees a public or private key. The environment will store a public key (for encryption) and a private key (for decryption). To assign the public key, call setencryption( PaillierKey ). To assign the private key, call setdecryption( PaillierPrivateKey ), or to assign both for this case, call setencryptiondecryption( PaillierPrivateKey ) 3.1.1 Encryption Once a public key has been assigned to the encryption environment, whether by the constructor or by setencryption or setencryptiondecryption, it is possible to call encrypt( BigInteger m ) to encode a message m. The resulting BigInteger is the encrypted message. Other encrypt methods are available, both static and otherwise, and are listed in the online documentation. 3.1.2 Decryption Once a private key has been assigned to the encryption environment, whether by the constructor or by setdecryption or setencryptiondecryption, it is possible to call 5

decrypt( BigInteger c ) to decode a ciphertext c. The resulting BigInteger is the original message. Just like above, other decrypt are available for greater flexibility. There are static and non-static methods, all of which are listed in the online documentation. 3.1.3 Other Utilities As listed in Section 1.3, there are several attractive features that we would like to make available to allow some computation. In the Paillier encryption environment, there is no thresholding, making it impossible to provide the 5th feature, but features 1-4 are available to this regular encryption environment. 1. Addition of Plaintexts is provided by add( BigInteger c1, BigInteger c2 ). Given c1 the encryption of a and c2 the encryption of b, the resulting BigInteger is an encryption of a + b. 2. Multiplication by a constant is provided by multiply( BigInteger c, BigInteger cons ). Given c the encryption of a, the resulting BigInteger is an encryption of cons a. 3. Proving knowledge of plaintext is provided by encryptproof( BigInteger ). The result is a non-interactive Zero Knowledge Proof detailed in??. 4. Proving knowledge of multiplication is provided by multiply Proof( BigInteger, BigInteger ) to produce a non-interactive Zero-Knowledge Proof as detailed in??. static variants of the addition and multiplication methods are also available. Also available are helpful utilities for random encryptions of 1 and of zero, and a method that will randomize a ciphertext at no distortion of the original message. 3.2 paillierp.paillierthreshold - Threshold Paillier Encryption Environment The threshold encryption environment provides an object through which one can encrypt and decrypt. As in Paillier, there is a number of constructors to ensure maximum flexibility. 3.2.1 Encryption Encryption with PaillierThreshold is just the same as with Paillier in Section 3.1.1. 6

3.2.2 Decryption The decryption methods for PaillierThreshold differ from Paillier. Once a private key has been assigned to the encryption environment, whetherby the custroctor or by setdecryption or setencryptiondecryption, it is possible to call decrypt( BigInteger c ) to decode a ciphertext c. The result is a PartialDecryption, which is not the original message. Rather, one must provide many PartialDecryption objects to combineshares( PartialDecryption... ) to obtain a BigInteger which is the original message; at least deckey.getw() must be provided, where deckey is the private key. In order to fully decrypt a ciphertext c, the following must happen 1. One should partially decrypt a message c by invoking decrypt( c ). What results is a PartialDecryption. 2. One must obtain at least w separate such PartialDecryptions generated by w independent PaillierThreshold encryption environments with unique Paillier Threshold Private Keys. 3. Combine the at least w partial decryptions by calling combineshares( share 1, share 2,..., share w ). The result is a BigInteger which is the original message. 3.2.3 Other Utilities As above in 3.1.3, PaillierThreshold implements the full set of features needed for secure multiparty computation. 1. Addition of Plaintexts is provided by add( BigInteger c1, BigInteger c2 ). Given c1 the encryption of a and c2 the encryption of b, the resulting BigInteger is an encryption of a + b. 2. Multiplication by a constant is provided by multiply( BigInteger c, BigInteger cons ). Given c the encryption of a, the resulting BigInteger is an encryption of cons a. 3. Proving knowledge of plaintext is provided by encryptproof( BigInteger ). The result is a non-interactive Zero Knowledge Proof detailed in Section 4. 4. Proving knowledge of multiplication is provided by multiply Proof( BigInteger, BigInteger ) to produce a non-interactive Zero-Knowledge Proof as detailed in Section 4. 5. Threshold decryption is provided by decrypt and combineshares as detailed above in 3.2.2. Further, proving knowledge of partial decryption is provided by decryptproof( BigInteger ). 7

3.3 paillierp.byteutils - Byte Manipulation Utilities ByteUtils is a bundle of static, byte manipulation methods for the tobytearray methods as listed in Section 5. 3.4 paillierp.partialdecryption - Product of Threshold Decryption This is simply a wrapper of a BigInteger and an ID number for the purposes of decryption with PaillierThreshold as detailed in Section 3.2.2. 4 paillierp.zkp Package - Non-interactive Zero Knowledge Proofs For secure multiparty computation, Cramer, et al. in [1] requires a cryptosystem to have five capabilities as listed on p. 4 in [1] (reproduced in this documentation at Section 1.3). To ensure complete security in these computations, even against malicious attacks, they have required two proofs of computation, viz. a proof that one knows the plaintext for a ciphertext and a proof that one knows a constant and has multiplied a ciphertext by that constant. A further proof has been developed to provide proof that one has indeed partially decrypted a ciphertext. Zero Knowledge Proofs is a method for one party to prove the veracity of a mathematical statements, without revealing particular numbers of that statement. Standardly, a zero knowledge proof is an interactive protocol for proving the veracity of the statement, where an input is given from without. On the other hand, a non-interactive proof is one which automatically chooses the input by something just as random as the possible input from without: the automatic input is the hash of the proving variables. Each of the original values are required in the constructors. That is to say, for example, EncryptionZKP requires knowledge of the plaintext and the private key before generating a zero knowledge proof. Nothing of sensitive data will be saved. But for the paranoid, methods and constructors for saving these objects as byte arrays are available. Each object generates the new ciphertext or partial decryption retrievable by getvalue(), and the method verify() recomputes the hash to provide veracity of the values. Also, verifykey( Paillier(Threshold)Key ) is available to ensure all public values used in the proof correspond with the given key. EncryptionZKP This provides knowledge that one knows the plaintext of a given encryption. This protocol is described on page 40 of [1]. MultiplicationZKP This provides knowledge that one has multiplied a ciphertext by a constant which only the multiplier knows. The protocol is from page 40 of [1]. 8

DecryptionZKP This provides knowledge that one has indeed partially decrypted a ciphertext. The method is found on pages 16-17 of [3]. 5 Transferring information Transferring of both public and private keys, and of the PartialDecryption wrapper and of each zero knowledge proof is made easy in this package. Not only are they serializable, but they also are given a tobytearray() method to specifically encode the object as a byte array for communication. Each of the above objects are also given a constructor which takes as input the byte array as specifically engineered by that object s tobytearray(). 6 Example We close with an example of the paillierp package, particularly PaillierThreshold. 1 package testingpaillier ; 3 import paillierp. Paillier ; import paillierp. PaillierThreshold ; 5 import java. math. BigInteger ; 7 import java. util. Random ; 9 import paillierp. key. KeyGen ; import paillierp. key. PaillierPrivateThresholdKey ; 11 import paillierp. zkp. DecryptionZKP ; 13 public class Testing { public static void main ( String [] args ) { 15 System. out. println (" Create new keypairs.") ; 17 Random rnd = new Random (); PaillierPrivateThresholdKey [] keys = 19 KeyGen. PaillierThresholdKey (128, 6, 3, rnd. nextlong ()); System. out. println (" Six keys are generated, with a threshold of 3.") ; 21 System. out. println (" Six people use their keys : p1, p2, p3, p4, p5, p6 ") ; 23 PaillierThreshold p1 = new PaillierThreshold ( keys [0]) ; PaillierThreshold p2 = new PaillierThreshold ( keys [1]) ; 25 PaillierThreshold p3 = new PaillierThreshold ( keys [2]) ; PaillierThreshold p4 = new PaillierThreshold ( keys [3]) ; 27 PaillierThreshold p5 = new PaillierThreshold ( keys [4]) ; PaillierThreshold p6 = new PaillierThreshold ( keys [5]) ; 29 System. out. println (" Alice is given the public key.") ; 31 Paillier alice = new Paillier ( keys [0]. getpublickey ()); 9

33 // Alice encrypts a message BigInteger msg = BigInteger. valueof ( 135819283) ; 35 BigInteger Emsg = alice. encrypt ( msg ); System. out. println (" Alice encrypts the message "+ msg +" and sends "+ 37 Emsg +" to everyone.") ; // Alice sends Emsg to everyone 39 System. out. println (" p1 receives the message and tries to decrypt all alone :") ; 41 BigInteger p1decrypt = p1. decryptonly ( Emsg ); if ( p1decrypt. equals ( msg )) { 43 System. out. println (" p1 succeeds decrypting the message all alone.") ; } else { 45 System. out. println (" p1 fails decrypting the message all alone. :(") ; } 47 System. out. println (" p2 and p3 receive the message and " + 49 " create a partial decryptions.") ; DecryptionZKP p2share = p2. decryptproof ( Emsg ); 51 DecryptionZKP p3share = p3. decryptproof ( Emsg ); // p2 sends the partial decryption to p3 53 // p3 sends the partial decryption to p2 55 System. out. println (" p2 receives the partial p3 s partial decryption " + " and attempts to decrypt the whole message using its own " + 57 " share twice "); try { 59 BigInteger p2decrypt = p2. combineshares ( p2share, p3share, p2share ); if ( p2decrypt. equals ( msg )) { 61 System. out. println (" p2 succeeds decrypting the message with p3.") ; } else { 63 System. out. println (" p2 fails decrypting the message with p3. :(") ; } 65 } catch ( IllegalArgumentException e) { System. out. println (" p2 fails decrypting and throws an error "); 67 } 69 System. out. println (" p4, p5, p6 receive Alice s original message and " + " create partial decryptions.") ; 71 DecryptionZKP p4share = p4. decryptproof ( Emsg ); DecryptionZKP p5share = p5. decryptproof ( Emsg ); 73 DecryptionZKP p6share = p6. decryptproof ( Emsg ); // p4, p5, and p6 share each of their partial decryptions with each other 75 System. out. println (" p4 receives and combines each partial decryption " + 77 " to decrypt whole message :") ; BigInteger p4decrypt = p4. combineshares ( p4share, p5share, p6share ); 79 if ( p4decrypt. equals ( msg )) { 10

System. out. println (" p4 succeeds decrypting the message with p5 and p6.") ; 81 } else { System. out. println (" p4 fails decrypting the message with p5 and p6. :(") ; 83 } } 85 } References [1] Cramer, R., Damgård, I., and Nielsen, J. B. Multiparty computation from threshold homomorphic encryption. In EUROCRYPT 01: Proceedings of the International Conference on the Theory and Application of Cryptographic Techniques (London, UK, 2001), Springer-Verlag, pp. 280 299. [2] Damgård, I., and Jurik, M. A generalisation, a simplification and some applications of Paillier s probabilistic public-key system. In PKC 01: Proceedings of the 4th International Workshop on Practice and Theory in Public Key Cryptography (London, UK, 2001), Springer-Verlag, pp. 119 136. [3] Damgård, I., Jurik, M., and Nielsen, J. B. A generalization of Paillier s publickey system with applications to electronic voting. http://www.brics.dk/~ivan/ GenPaillierfinaljour.ps, 2003. Manuscript. [4] Shoup, V. Practical threshold signatures. In EUROCRYPT 00: Proceedings of the 19th international conference on Theory and application of cryptographic techniques (Berlin, Heidelberg, 2000), Springer-Verlag, pp. 207 220. 11