//
pkg.gl
Category
github.com/viaTunnel/golang-crypto
openpgp
elgamal
package
0.0.0-20241105083828-8ea569baf159
Repository:
https://github.com/viatunnel/golang-crypto.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
1
Files
92 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.