weakbb

package module
v0.0.0-...-b304aa0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WbbKeyGen

func WbbKeyGen(curve *math.Curve, rng io.Reader) (*math.Zr, *math.G2)

WbbKeyGen creates a fresh weak-Boneh-Boyen signature key pair (http://ia.cr/2004/171)

func WbbSign

func WbbSign(curve *math.Curve, sk *math.Zr, m *math.Zr) *math.G1

WbbSign places a weak Boneh-Boyen signature on message m using secret key sk

func WbbVerify

func WbbVerify(curve *math.Curve, pk *math.G2, sig *math.G1, m *math.Zr) error

WbbVerify verifies a weak Boneh-Boyen signature sig on message m with public key pk

Types

This section is empty.

Jump to

Keyboard shortcuts

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