experiments

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MeasureIssueTime

func MeasureIssueTime()

MeasureIssueTime measures the time taken to run the Issue function for different sizes of the attributes vector.

func MeasurePresentationTime

func MeasurePresentationTime()

MeasurePresentationTime measures the time taken to run the Presentation function for different sizes of the attributes vector and numbers of revealed attributes. It also measures the size of the generated proof.

func MeasureSetupTime

func MeasureSetupTime()

MeasureSetupTime measures the time taken to run the Setup function for different sizes of the attributes vector.

func MeasureVerifyTime

func MeasureVerifyTime()

MeasureVerifyTime measures the time taken to run the Verify function for different sizes of the attributes vector and numbers of revealed attributes.

func SerializeToBytes

func SerializeToBytes(proof *models.SignatureProof) ([]byte, error)

SerializeToBytes serializes a SignatureProof to bytes using gob

func SignatureProofToSerializable

func SignatureProofToSerializable(p *models.SignatureProof) (*models.SerializableSignatureProof, error)

SignatureProofToSerializable converts a SignatureProof to a SerializableSignatureProof

Types

This section is empty.

Jump to

Keyboard shortcuts

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