For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::messages::delivery::handshake

Struct AppSiloedHandshakeSecrets

pub struct AppSiloedHandshakeSecrets {
    pub shared: Field,
    pub sender_only: Field,
}

The app-siloed handshake secrets the registry returns for a (sender, recipient) pair.

Fields

shared: Field

The app-siloed shared secret, used to derive the recipient's discovery tag. The recipient can reconstruct it from the handshake's public ephemeral key via ECDH.

sender_only: Field

The app-siloed sender-only secret, folded into the constrained-delivery sequence nullifier so only the sender can advance a sequence. The recipient cannot reconstruct it: it derives from a random secret stored only in the sender's handshake note and never transmitted.

Trait implementations

impl Deserialize for AppSiloedHandshakeSecrets

pub fn deserialize(fields: [Field; 2]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

impl Eq for AppSiloedHandshakeSecrets

pub fn eq(_self: Self, _other: Self) -> bool

impl From<TagSecretSource> for AppSiloedHandshakeSecrets

pub fn from(source: TagSecretSource) -> Self

impl Serialize for AppSiloedHandshakeSecrets

pub fn serialize(self) -> [Field; 2] pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)