Discover Packages
github.com/idena-network/idena-go
crypto
vrf
package
Version:
v0.26.4
Opens a new window with list of versions in this module.
Published: Jul 2, 2021
License: LGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation Source Files Directories Overview Index Constants Variables Functions Types HashFromProof(proof) type PrivateKey type PublicKey
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
¶
Show internal
Collapse all
Click to show internal directories.
Click to hide internal directories.