Function darkfi_sdk::crypto::diffie_hellman::sapling_ka_agree

source ยท
pub fn sapling_ka_agree(
    esk: &SecretKey,
    pk_d: &PublicKey,
) -> Result<PublicKey, ContractError>
Expand description

Sapling key agreement for note encryption. Implements section 5.4.4.3 of the Zcash Protocol Specification