ec

package
v0.0.0-...-3bed8bd Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompactPrivateKey

type CompactPrivateKey struct {
	*ecdsa.PrivateKey
}

func NewCompactPrivateKey

func NewCompactPrivateKey() (*CompactPrivateKey, error)

func (*CompactPrivateKey) PublicKey

func (k *CompactPrivateKey) PublicKey() *CompactPublicKey

type CompactPublicKey

type CompactPublicKey struct {
	*ecdsa.PublicKey
}

func CompactPublicKeyFromBytes

func CompactPublicKeyFromBytes(compact []byte) *CompactPublicKey

func (*CompactPublicKey) Bytes

func (c *CompactPublicKey) Bytes() []byte

Jump to

Keyboard shortcuts

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