aboutsummaryrefslogtreecommitdiff
path: root/slides/2021-swits/img/mt.tex
diff options
context:
space:
mode:
Diffstat (limited to 'slides/2021-swits/img/mt.tex')
-rw-r--r--slides/2021-swits/img/mt.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/slides/2021-swits/img/mt.tex b/slides/2021-swits/img/mt.tex
new file mode 100644
index 0000000..3deaf62
--- /dev/null
+++ b/slides/2021-swits/img/mt.tex
@@ -0,0 +1,19 @@
+\begin{tikzpicture}[
+ -latex,
+]
+ \Tree [
+ .$\hash(h_{01}\concat h_{23})$ [
+ .$h_{01}\coloneqq\hash(h_0\concat h_1)$ [
+ .$h_0\coloneqq\hash(\mathsf{foo})$
+ ] [
+ .$h_1\coloneqq\hash(\mathsf{bar})$
+ ]
+ ] [
+ .$h_{23}\coloneqq\hash(h_2\concat h_3)$ [
+ .$h_2\coloneqq\hash(\mathsf{baz})$
+ ] [
+ .$h_3\coloneqq\hash(\mathsf{qux})$
+ ]
+ ]
+ ]
+\end{tikzpicture}