//
pkg.gl
Category
github.com/psiphon-labs/psiphon-tunnel-core
psiphon
common
crypto
openpgp
elgamal
package
1.0.10
Repository:
https://github.com/psiphon-labs/psiphon-tunnel-core.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.