bbsignatures

package
v0.0.0-...-eed3acf Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sign

func Sign(m *big.Int, privk *big.Int) (*bn256.G2, error)

sign receives as input a message and a private key and outputs a digital signature.

Types

type Keypair

type Keypair struct {
	Pubk  *bn256.G1
	Privk *big.Int
}

func Keygen

func Keygen() (Keypair, error)

keygen is responsible for the key generation.

Jump to

Keyboard shortcuts

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