class PaillierCipher {

	public static BigInteger encrypt(final PaillierPublicKey encryptionKey, final BigInteger message) {
		final BigInteger n = encryptionKey.getN();
		final BigInteger r = RandomNumberGenerator.generateRandomCoprimeInRange(n);
		return encrypt(encryptionKey, message, r);
	}

}