sx25519

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func X25519

func X25519() scrypto.Ecdh

Types

type PrivateKey

type PrivateKey []byte

func (PrivateKey) ToBytes

func (c PrivateKey) ToBytes(key []byte, err error)

func (*PrivateKey) ToPrivateKey

func (c *PrivateKey) ToPrivateKey(keyBytes []byte) (err error)

type PublicKey

type PublicKey []byte

func (PublicKey) ToBytes

func (c PublicKey) ToBytes() (key []byte, err error)

func (*PublicKey) ToPublicKey

func (c *PublicKey) ToPublicKey(keyBytes []byte) (err error)

Jump to

Keyboard shortcuts

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