verifiable-delay-function

command module
v0.0.0-...-484f1f3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

README

Verifiable Delay Funciton

Verifiable Delay Functions implementation in Go, based on

Caution & Warning

Its crypto. What can possibly go wrong?!

Usage

To setup a VDF with k bit RSA security

security := uint64(k)
N := Setup(security)

To create a lock that requires min T squarings

instance := Generate(N, T, k)

Solve the puzzle. Currently we only implement the naive solver

instance.NaiveSolve()

To verify an instance, call and check if true/false

accept := instance.Verify() 
	

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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