Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EPrivateKeyFromKey ¶ added in v0.2.1
func EPrivateKeyFromKey(k crypto.EKey) (crypto.EPrivateKey, error)
func EPrivateKeyFromSeed ¶ added in v0.2.1
func EPrivateKeyFromSeed(seed []byte) (crypto.EPrivateKey, error)
func EPublicKeyFromKey ¶ added in v0.2.1
func EPublicKeyFromKey(k crypto.EKey) (crypto.EPublicKey, error)
Types ¶
type PrivateKey ¶
type PrivateKey struct { ecies.PrivateKey // contains filtered or unexported fields }
func (*PrivateKey) EKey ¶ added in v0.2.1
func (p *PrivateKey) EKey() crypto.EKey
func (*PrivateKey) EPublic ¶ added in v0.2.1
func (p *PrivateKey) EPublic() crypto.EPublicKey
func (PrivateKey) Sign ¶ added in v0.2.1
func (p PrivateKey) Sign(message []byte) (*crypto.Signature, error)
func (*PrivateKey) String ¶ added in v0.2.1
func (p *PrivateKey) String() string
Click to show internal directories.
Click to hide internal directories.