[−][src]Module tari_crypto::keys
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
DiffieHellmanSharedSecret | This trait provides a common mechanism to calculate a shared secret using the private and public key of two parties |
PublicKey | A trait specifying common behaviour for representing |
SecretKey | A trait specifying common behaviour for representing |