Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateCombo ¶
type PrivateCombo struct { SigningKey PrivateKey EncryptionKey PrivateKey }
func DeterministicPrivateCombo ¶
func DeterministicPrivateCombo(name string) *PrivateCombo
func RandomPrivateCombo ¶
func RandomPrivateCombo() *PrivateCombo
func (*PrivateCombo) PublicCombo ¶
func (c *PrivateCombo) PublicCombo() *PublicCombo
func (*PrivateCombo) Ripe ¶
func (c *PrivateCombo) Ripe() Ripe
type PrivateKey ¶
type PrivateKey []byte
func NewPrivateKey ¶
func NewPrivateKey(text string) (PrivateKey, error)
func RandomPrivateKey ¶
func RandomPrivateKey() PrivateKey
func (PrivateKey) PublicKey ¶
func (p PrivateKey) PublicKey() PublicKey
func (PrivateKey) Sign ¶
func (p PrivateKey) Sign(data []byte) []byte
func (PrivateKey) String ¶
func (p PrivateKey) String() string
type PublicCombo ¶
func (*PublicCombo) Ripe ¶
func (c *PublicCombo) Ripe() Ripe
Click to show internal directories.
Click to hide internal directories.