adey99 / Goldwa-Mical-enc

A simple implementation of Goldwasser-Micali encryption in java.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuadraticResidueEncryption

A simple implementation of Goldwasser-Micali encryption in java.

The Goldwasser–Micali (GM) cryptosystem is an asymmetric key encryption algorithm developed by Shafi Goldwasser and Silvio Micali in 1982. GM has the distinction of being the first probabilistic public-key encryption scheme which is provably secure under standard cryptographic assumptions. However, it is not an efficient cryptosystem, as ciphertexts may be several hundred times larger than the initial plaintext. To prove the security properties of the cryptosystem, Goldwasser and Micali proposed the widely used definition of semantic security. Goldwasser–Micali consists of three algorithms: a probabilistic key generation algorithm which produces a public and a private key, a probabilistic encryption algorithm, and a deterministic decryption algorithm.

Sample Output

output

About

A simple implementation of Goldwasser-Micali encryption in java.


Languages

Language:Java 100.0%