Crate phoenix_core

source ·
Expand description

Phoenix’s Core library types and behaviors

Modules§

  • AES symmetric cipher

Structs§

  • A note that does not encrypt its value
  • Public pair of a·G and b·G defining a PublicKey
  • Secret pair of a and b defining a SecretKey
  • To obfuscate the identity of the participants, we utilizes a Stealth Address system. A StealthAddress is composed by a one-time note-public-key (the actual address) and a random point R.
  • Pair of a secret a and public b·G

Enums§

  • All possible errors for Phoenix’s Core
  • The types of a Note

Traits§

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

Functions§

  • Hashes a JubJub’s ExtendedPoint into a JubJub’s Scalar using the JubJub’s hash to scalar function