Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoPrivateKey ¶
func New ¶
func New() (DiscoPrivateKey, error)
func (DiscoPrivateKey) Public ¶
func (d DiscoPrivateKey) Public() DiscoPublicKey
func (DiscoPrivateKey) Shared ¶
func (d DiscoPrivateKey) Shared(pubKey DiscoPublicKey) DiscoSharedKey
type DiscoPublicKey ¶
func Parse ¶
func Parse(pubKey string) (DiscoPublicKey, error)
func (DiscoPublicKey) Marshal ¶
func (d DiscoPublicKey) Marshal() string
func (DiscoPublicKey) String ¶
func (d DiscoPublicKey) String() string
func (*DiscoPublicKey) Unmarshal ¶
func (d *DiscoPublicKey) Unmarshal(encoded string) error
Click to show internal directories.
Click to hide internal directories.