onionsalt::ENCRYPTEDPAYLOAD_LENGTH [] [src]

pub const ENCRYPTEDPAYLOAD_LENGTH: usize = PACKET_LENGTH - ROUTE_COUNT * ROUTING_OVERHEAD

ENCRYPTEDPAYLOAD_LENGTH is the size of the encrypted payload that is intended for the primary recipient. It differs from PACKET_LENGTH by the total routing overhead.

assert_eq!(ENCRYPTEDPAYLOAD_LENGTH, 592);