package
0.0.0-20190918032558-02f1fe41ded6
Repository: https://github.com/tangerine-network/tangerine-consensus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Keccak256Hash calculates and returns the Keccak256 hash of the input data, converting it to an internal Hash data structure.
RegisterSigToPub registers a sigToPub function of type.
SigToPub recovers public key from signature.

# Variables

ErrSigToPubTypeAlreadyExist is reported if the type is already used.
ErrSigToPubTypeNotFound is reported if the type is already used.

# Structs

Signature is the basic signature type in DEXON.

# Interfaces

PrivateKey describes the asymmetric cryptography interface that interacts with the private key.
PublicKey describes the asymmetric cryptography interface that interacts with the public key.

# Type aliases

SigToPubFn is a function to recover public key from signature.