pub fn create_origin_mac_challenge(header: &DhtMessageHeader, body: &[u8]) -> Challenge {
    create_origin_mac_challenge_parts(
        header.version,
        &header.destination,
        header.message_type,
        header.flags,
        header.expires,
        header.ephemeral_public_key.as_ref(),
        body,
    )
}
/// Generates a challenge for the origin MAC.
Generates a challenge for the origin MAC.
Generates a challenge for the origin MAC .
pub fn create_origin_mac_challenge(header: &DhtMessageHeader, body: &[u8]) -> Challenge {
    create_origin_mac_challenge_parts(
        header.version,
        &header.destination,
        header.message_type,
        header.flags,
        header.expires,
        header.ephemeral_public_key.as_ref(),
        body,
    )
}
pub fn create_origin_mac_challenge ( header : & DhtMessageHeader , body : & [ u8 ] ) -> Challenge { create_origin_mac_challenge_parts ( header . version , & header . destination , header . message_type , header . flags , header . expires , header . ephemeral_public_key . as_ref ( ) , body , ) }
Generates a challenge for the origin MAC.
Generates a challenge for the origin MAC .
header
&DhtMessageHeader
body
&[u8]
header
&DhtMessageHeader
body
&[u8]