Module keys

Source
Expand description

BBS+ key classes

Modules§

prelude
Convenience importing module

Structs§

DeterministicPublicKey
Used to deterministically generate all other generators given a commitment to a private key This is effectively a BLS signature public key
PublicKey
PublicKey consists of a blinding generator h_0, a commitment to the secret key w and a generator for each message in h
SecretKey
The secret key is field element 0 < x < r where r is the curve order. See Section 4.3 in https://eprint.iacr.org/2016/663.pdf

Enums§

KeyGenOption
The various ways a key can be constructed other than random

Constants§

DETERMINISTIC_PUBLIC_KEY_COMPRESSED_SIZE
Size of a compressed deterministic public key

Functions§

generate
Create a new BBS+ keypair. The generators of the public key are generated at random