//
pkg.gl
Category
github.com/yosmudge/graphatmo
src
golang.org
x
crypto
openpgp
elgamal
package
0.1.0
Repository:
https://github.com/yosmudge/graphatmo.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
90 SLOC
#
Functions
Decrypt
Decrypt takes two integers, resulting from an ElGamal encryption, and returns the plaintext of the message.
Encrypt
Encrypt encrypts the given message to the given public key.
#
Structs
PrivateKey
PrivateKey represents an ElGamal private key.
PublicKey
PublicKey represents an ElGamal public key.