Crate dusk_pki

Crate dusk_pki 

Source
Expand description

Build Status Repository Documentation

§Dusk Public Key Infrastructure

This repository has been created so there’s a unique library that holds the types and functions required to perform keys operations.

Structs§

PublicKey
Public Key Structure repesenting a PublicKey
PublicSpendKey
Public Spend Key Public pair of a·G and b·G defining a PublicSpendKey
SecretKey
Secret Key Structure repesenting a secret key
SecretSpendKey
Secret Spend Key Secret pair of a and b defining a SecretSpendKey
StealthAddress
Stealth Address To obfuscate the identity of the participants, we utilizes a Stealth Address system. A StealthAddress is composed by a one-time public key (pk_r, the actual
ViewKey
ViewKey Pair of a secret a and public b·G

Traits§

Ownable
Stealth Address The trait Ownable is required by any type that wants to prove its ownership.