Discover Packages
github.com/PhenixChain/devchain
common
vrf
package
Version:
v0.0.0-...-3606b63
Opens a new window with list of versions in this module.
Published: Nov 13, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package vrf defines the interface to a verifiable random function.
PrivateKey supports evaluating the VRF function.
type PublicKey interface {
ProofToHash(m, proof []byte ) (index [32]byte , err error )
}
PublicKey supports verifying output from the VRF function.
Source Files
¶
Directories
¶
Package secp256k1 implements a verifiable random function using curve secp256k1.
Package secp256k1 implements a verifiable random function using curve secp256k1.
Click to show internal directories.
Click to hide internal directories.