package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev
# Functions
GenerateKey generates a public&private key pair.
GenerateParameters puts a random, valid set of DSA parameters into params.
Sign signs an arbitrary length hash (which should be the result of hashing a larger message) using the private key, priv.
Verify verifies the signature in r, s of hash using the public key, pub.
# Variables
ErrInvalidPublicKey results when a public key is not usable by this code.
# Structs
Parameters represents the domain parameters for a key.
PrivateKey represents a DSA private key.
PublicKey represents a DSA public key.
# Type aliases
ParameterSizes is a enumeration of the acceptable bit lengths of the primes in a set of DSA parameters.