Documentation ¶
Overview ¶
This file has automatically been generated on Wed Feb 26 15:50:21 +05 2020. DO NOT EDIT.
Index ¶
- func GenerateKey(c elliptic.Curve, rand io.Reader) (*ecdsa.PrivateKey, error)
- func PrivateKeyPublic(priv *ecdsa.PrivateKey) crypto.PublicKey
- func PrivateKeySign(priv *ecdsa.PrivateKey, rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)
- func Sign(rand io.Reader, priv *ecdsa.PrivateKey, hash []byte) (*big.Int, *big.Int, error)
- func Verify(pub *ecdsa.PublicKey, hash []byte, r, s *big.Int) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
func PrivateKeyPublic ¶
func PrivateKeyPublic(priv *ecdsa.PrivateKey) crypto.PublicKey
func PrivateKeySign ¶
func PrivateKeySign(priv *ecdsa.PrivateKey, rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.