util

package
v0.0.0-...-c638c98 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SO = &SignerOpts{}

Functions

func ComparePublicKeys

func ComparePublicKeys(a, b *ecdsa.PublicKey) bool

func GenerateKey

func GenerateKey() (*ecdsa.PrivateKey, error)

func NewCurve

func NewCurve() elliptic.Curve

Types

type SignerOpts

type SignerOpts struct{}

func (*SignerOpts) HashFunc

func (*SignerOpts) HashFunc() crypto.Hash

Jump to

Keyboard shortcuts

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