Documentation ¶
Overview ¶
package ecc provides helpers for creating elliptic curve leys
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrivate ¶
func NewPrivate(x, y, d []byte) *ecdsa.PrivateKey
NewPrivate constructs ecdsa.PrivateKey from given (X,Y) and D
func ReadPrivate ¶
func ReadPrivate(raw []byte) (key *ecdsa.PrivateKey, err error)
ReadPrivate loads ecdsa.PrivateKey from given PKCS1 or PKCS8 blobs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.