hopr_crypto_sphinx::derivation

Function derive_commitment_seed

Source
pub fn derive_commitment_seed(
    private_key: &[u8],
    channel_info: &[u8],
) -> [u8; 32]
Expand description

Derives the commitment seed given the compressed private key representation and the serialized channel information.