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
- 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 pointR
. - Pair of a secret
a
and publicb·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