For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::test::helpers::tagging_secret_strategy

Function compute_directional_app_secret

pub fn compute_directional_app_secret(
    secret: EmbeddedCurvePoint,
    app: AztecAddress,
    recipient: AztecAddress,
) -> Field

Computes the directional tagging secret PXE derives from an arbitrary shared secret point: the point is app-siloed and the recipient is folded in for direction. Mirrors AppTaggingSecret.computeDirectional on the PXE side; tests use it to derive the secret they expect an arbitrary_secret strategy to produce.