proto

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ProtoID = "/libp2p/flare-test/presence"

Variables

This section is empty.

Functions

func Nonce

func Nonce() ([]byte, error)

func Proof

func Proof(secret string, salt, nonce []byte) []byte

func Verify

func Verify(secret string, salt, nonce, proof []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL