Struct sphinx_packet::header::keys::RoutingKeys
source · pub struct RoutingKeys {
pub stream_cipher_key: StreamCipherKey,
pub header_integrity_hmac_key: HeaderIntegrityMacKey,
pub payload_key: PayloadKey,
pub blinding_factor: BlindingFactor,
}Fields§
§stream_cipher_key: StreamCipherKey§header_integrity_hmac_key: HeaderIntegrityMacKey§payload_key: PayloadKey§blinding_factor: BlindingFactorImplementations§
source§impl RoutingKeys
impl RoutingKeys
pub fn derive(shared_key: SharedSecret) -> Self
Trait Implementations§
source§impl Clone for RoutingKeys
impl Clone for RoutingKeys
source§fn clone(&self) -> RoutingKeys
fn clone(&self) -> RoutingKeys
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RoutingKeys
impl Debug for RoutingKeys
source§impl PartialEq<RoutingKeys> for RoutingKeys
impl PartialEq<RoutingKeys> for RoutingKeys
source§fn eq(&self, other: &RoutingKeys) -> bool
fn eq(&self, other: &RoutingKeys) -> bool
This method tests for
self and other values to be equal, and is used
by ==.