Function get_shared_secret
pub unconstrained fn get_shared_secret(
address: AztecAddress,
eph_pk: EmbeddedCurvePoint,
contract_address: AztecAddress,
) -> Option<Field>
pub unconstrained fn get_shared_secret(
address: AztecAddress,
eph_pk: EmbeddedCurvePoint,
contract_address: AztecAddress,
) -> Option<Field>
Convenience wrapper around
get_shared_secretsfor a single ephemeral public key.Returns
nonewhen the PXE does not holdaddress's keys and therefore cannot derive the secret.