[p2p-hackers] EIGamal encryption

Hal Finney hal at finney.org
Fri Nov 19 04:36:19 UTC 2004

> My question is How to encrypt a message m using the private key x,
> and decrypt the corresponding ciphertext with the public key y,g,p. Would
> you please give me a hand?

A good online reference for crypto is the Handbook of Applied Cryptography,
http://www.cacr.math.uwaterloo.ca/hac/ .  ElGamal keygen, encryption and
decryption is discussed in section 8.4.

Hal Finney

More information about the P2p-hackers mailing list