crypto

package
v0.0.0-...-5c8f3ac Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: GPL-3.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey() (pubkey, seckey []byte)

func PaddedBigBytes

func PaddedBigBytes(bigint *big.Int, n int) []byte

func Sign

func Sign(msg, seckey []byte) ([]byte, error)

func VerifySign

func VerifySign(pubkey, msg, sign []byte) bool

Types

This section is empty.

Directories

Path Synopsis
Package secp256k1 wraps the bitcoin secp256k1 C library.
Package secp256k1 wraps the bitcoin secp256k1 C library.

Jump to

Keyboard shortcuts

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