//
pkg.gl
Category
github.com/tailscale/golang-x-crypto
openpgp
elgamal
package
0.91.0
Repository:
https://github.com/tailscale/golang-x-crypto.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
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.