Versions in this module Expand all Collapse all v1 v1.0.1 Nov 8, 2022 v1.0.0 Nov 5, 2022 Changes in this version + var ErrInvalidPublicKey = errors.New("crypto/dsa: invalid public key") + func GenerateKey(priv *PrivateKey, rand io.Reader) error + func GenerateParameters(params *Parameters, rand io.Reader, sizes ParameterSizes) error + func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) + func Verify(pub *PublicKey, hash []byte, r, s *big.Int) bool + type ParameterSizes int + const L1024N160 + const L2048N224 + const L2048N256 + const L3072N256 + type Parameters struct + G *big.Int + P *big.Int + Q *big.Int + type PrivateKey struct + X *big.Int + type PublicKey struct + Y *big.Int