sign

package
v0.0.0-...-d9e9996 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package sign is the ECDSA sign and verify implementation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignECDSA

func SignECDSA(k *ecdsa.PrivateKey, msg []byte) (signature []byte, err error)

SignECDSA sign message using private key

func VerifyECDSA

func VerifyECDSA(k *ecdsa.PublicKey, signature, msg []byte) (valid bool, err error)

VerifyECDSA verify message's signature using public key

Types

This section is empty.

Jump to

Keyboard shortcuts

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