crypto

package
v0.0.0-...-30b2b69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWrongSize   = errors.New("text or data has wrong size")
	ErrInvalidText = errors.New("text has invalid char")
)

Functions

This section is empty.

Types

type PrivateKey

type PrivateKey ed25519.PrivateKey

func (PrivateKey) MarshalText

func (k PrivateKey) MarshalText() (text []byte, err error)

func (*PrivateKey) UnmarshalText

func (k *PrivateKey) UnmarshalText(txt []byte) error

type PublicKey

type PublicKey ed25519.PublicKey

func (PublicKey) MarshalText

func (k PublicKey) MarshalText() (text []byte, err error)

func (*PublicKey) UnmarshalText

func (k *PublicKey) UnmarshalText(txt []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL