Discover Packages
github.com/33cn/chain33/v6
common
vrf
package
Version:
v6.4.0
Opens a new window with list of versions in this module.
Published: May 18, 2020
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.