signature

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sign

func Sign(digest []byte, prikey []byte) ([]byte, error)

func SignByDelegate

func SignByDelegate(digest []byte, pubkey string) ([]byte, error)

func SignHash

func SignHash(digest []byte, account string, url string) ([]byte, error)

func SignWithKey

func SignWithKey(digest []byte, privateKey []byte) ([]byte, error)

func SignWithWallet

func SignWithWallet(digest []byte, account string, url string) ([]byte, error)

func VerifySign

func VerifySign(pubkey []byte, digest []byte, signdata []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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