Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { PublicKey kyber.Point // contains filtered or unexported fields }
Key is DKG signing key that conforms to the keystore.Key interface
func FromEncryptedJSON ¶
FromEncryptedJSON returns a dkgsignkey.Key from encrypted data in go-ethereum keystore format.
func MustNewXXXTestingOnly ¶
MustNewXXXTestingOnly creates a new DKGSign key from the given secret key. NOTE: for testing only.
func (Key) KyberScalar ¶
func (k Key) KyberScalar() kyber.Scalar
KyberScalar returns the private key as a kyber.Scalar object
func (Key) PublicKeyString ¶
PublicKeyString returns the hex representation of this key's public key
func (Key) ToEncryptedJSON ¶
func (key Key) ToEncryptedJSON(password string, scryptParams utils.ScryptParams) (export []byte, err error)
ToEncryptedJSON exports this key into a JSON object following the format of EncryptedDKGSignKeyExport
Click to show internal directories.
Click to hide internal directories.