Files
papers/lux-secure-messaging/sections/04-domain-separator.tex
zeekay 4a753bb639 papers: reorganize into per-paper dirs, add Antje Worring as co-author
Restructured from flat .tex/.pdf files into per-paper subdirectories.
Added Antje Worring as co-author on all papers.
Synced PDFs to pdfs/ for download site.
2026-04-18 21:50:07 -07:00

12 lines
511 B
TeX

\section{Domain Separator}
\label{sec:domain}
The domain separator prevents cross-protocol and cross-network message confusion:
$$\text{domainSeparator} = \text{keccak256}(\text{abi.encode}($$
$$\quad \text{``LuxTeleport''}, \text{version}, \text{networkID}, \text{srcChain}, \text{routerAddress}$$
$$))$$
Two messages from different networks, different protocol versions, different source chains, or different router contracts will have different domain separators, even if all other fields are identical.