Module tari_crypto::keys
source · Expand description
General definition of public-private key pairs for use in Tari. The traits and structs defined here are used in the Tari domain logic layer exclusively (as opposed to any specific implementation of ECC curve). The idea being that we can swap out the underlying implementation without worrying too much about the impact on upstream code.
Traits§
- A trait specifying common behaviour for representing
PublicKey
s. Specific elliptic curve implementations need to implement this trait for them to be used in Tari. - A trait specifying common behaviour for representing
SecretKey
s. Specific elliptic curve implementations need to implement this trait for them to be used in Tari.