Documentation ¶
Overview ¶
Package deterministicecdsa contains the original ecdsa.GenerateKey before it was made non-deterministic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
GenerateKey generates a public and private key pair.
func Sign ¶
Sign signs an arbitrary length hash (which should be the result of hashing a larger message) using the private key, priv. It returns the signature as a pair of integers. The security of the private key depends on the entropy of rand.
func WrapPrivateKey ¶
func WrapPrivateKey(privateKey *ecdsa.PrivateKey) crypto.PrivateKey
WrapPrivateKey wraps a private key so that the Sign method is deterministic
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.