Documentation ¶
Index ¶
- func CryptoVrfProofToHash(proof []byte) ([]byte, error)
- func CryptoVrfProve(sk, seed []byte) ([]byte, error)
- func CryptoVrfPublicKeyFromSecretKey(sk []byte) ([]byte, error)
- func CryptoVrfVerify(pk, proof, seed []byte) ([]byte, error)
- func GetVrfCert(seed, vrfSkey []byte) *big.Int
- func GetVrfLeaderValue(slot int, eta0, cborHex string) *big.Int
- func GetVrfMaxValue() *big.Int
- func Initialize_libsodium() int
- func MkSeed(slot int, eta0 string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CryptoVrfProofToHash ¶
func CryptoVrfProve ¶
func CryptoVrfPublicKeyFromSecretKey ¶ added in v0.1.16
func CryptoVrfVerify ¶
func GetVrfCert ¶
func GetVrfMaxValue ¶
func Initialize_libsodium ¶
func Initialize_libsodium() int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.