crypto

package
v0.0.0-...-57c8b1d Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifySig

func VerifySig(plainText []byte, pubKey [33]byte, csig [64]byte) error

VerifySig verifies a signature against a given plaintext and pubKey

func WitnessKeyAndValue

func WitnessKeyAndValue(key, value []byte) []byte

WitnessKeyAndValue commits to a key and a value using the following commitment: H(key||value)

Types

This section is empty.

Directories

Path Synopsis
Package btcec implements support for the elliptic curves needed for bitcoin.
Package btcec implements support for the elliptic curves needed for bitcoin.
Package fastsha256 implements the SHA256 hash algorithms as defined in FIPS 180-4.
Package fastsha256 implements the SHA256 hash algorithms as defined in FIPS 180-4.

Jump to

Keyboard shortcuts

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