commit

package
v0.0.0-...-872243e Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: GPL-3.0, LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Author: xingchang@fusion.org

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commitment

type Commitment struct {
	C *big.Int
	D []*big.Int
}

func (*Commitment) Commit

func (commitment *Commitment) Commit(secrets ...*big.Int) *Commitment

func (*Commitment) DeCommit

func (commitment *Commitment) DeCommit() (bool, []*big.Int)

func (*Commitment) Verify

func (commitment *Commitment) Verify() bool

Jump to

Keyboard shortcuts

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