pkg

package
v0.0.0-...-38ee869 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyGeneration

func KeyGeneration() (ed25519.PublicKey, ed25519.PrivateKey, error)

KeyGeneration generates a pair of public key and private key for identity identification

func Setup

func Setup() (*rsa.PublicKey, *rsa.PrivateKey, error)

Setup generate the public parameter of ZSK and public key and private key of digital signature scheme

Types

type Auxiliary

type Auxiliary struct {
	Prefix []byte
	Msg    []byte
}

type Proof

type Proof struct {
	TagPrefix    []byte
	TagPrefixMsg []byte
	ZSKProof     marlin.Proof
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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