//
pkg.gl
Category
github.com/OpenSlides/vote-decrypt
crypto
package
0.0.0-20241008081943-f0aa59e8c092
Repository:
https://github.com/openslides/vote-decrypt.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
1
Files
158 SLOC
#
Functions
Encrypt
Encrypt creates a cyphertext from plaintext using the given public key.
New
New initializes a Crypto object with a main key and a random source.
Verify
Verify checks that the the signature was created with pubKey for the message.
#
Structs
Crypto
Crypto implements all cryptographic functions needed for the decrypt service.