commit 39efb81568456f700e8ed5b378eeb432071b707b
parent 7f4ab7ee7d43f7f58f2f84be4ec3ecf886b2e676
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
Date: Tue, 26 Sep 2023 18:27:07 +0200
added initial DONAU protocol overview
Diffstat:
3 files changed, 84 insertions(+), 0 deletions(-)
diff --git a/doc/protocol/.gitignore b/doc/protocol/.gitignore
@@ -0,0 +1,39 @@
+*.pdf
+
+## Core latex/pdflatex auxiliary files:
+*.aux
+*.lof
+*.log
+*.lot
+*.fls
+*.out
+*.toc
+*.fmt
+*.fot
+*.cb
+*.cb2
+.*.lb
+
+## Bibliography auxiliary files (bibtex/biblatex/biber):
+*.bbl
+*.bcf
+*.blg
+*-blx.aux
+*-blx.bib
+*.run.xml
+
+# beamer
+*.nav
+*.pre
+*.snm
+*.vrb
+
+# hyperref
+*.brf
+
+# pax
+*.pax
+
+*.idx
+*.ilg
+*.ind
diff --git a/doc/protocol/Makefile b/doc/protocol/Makefile
@@ -0,0 +1,13 @@
+SOURCES = $(wildcard *.tex)
+BASENAME = $(patsubst %.tex,%,$(SOURCES))
+
+.PHONY: pdf default open clean
+
+pdf default:
+ pdflatex $(SOURCES)
+
+open: pdf
+ zathura --fork $(BASENAME).pdf
+
+clean:
+ rm -f *.nav *.snm *.toc *.pdf *.log *.aux *.out *.dvi *.bbl *.blg
diff --git a/doc/protocol/overview.tex b/doc/protocol/overview.tex
@@ -0,0 +1,32 @@
+\documentclass{article}
+
+\usepackage[english]{babel}
+\usepackage[utf8]{inputenc}
+\usepackage{amsmath,amssymb}
+\usepackage{parskip}
+\usepackage{graphicx}
+
+% Margins
+\usepackage[top=2.5cm, left=3cm, right=3cm, bottom=4.0cm]{geometry}
+% Colour table cells
+\usepackage[table]{xcolor}
+
+\title{DONAU protocol overview}
+\author{Johannes Casaburi \and Pius Losli \and Lukas Matiya}
+\date{\today}
+
+\begin{document}
+\maketitle
+
+\section{Definitions}
+\section{Overview}
+% Insert DONAU overview.png
+\section{Step 1: Donor donates to charity}
+To donate 3 Euro the donor has to generate 2 coins (1 Euro and 2 Euro coin). The messages $M_1$ and $M_2$ are blinded using the blinding factor and sent as $M_1'$ and $M_2'$ to the charity.
+
+\begin{align}
+ M_1 = \langle H(TAXID, SALT), NONCE_1 \rangle \\
+ M_2 = \langle H(TAXID, SALT), NONCE_2 \rangle
+\end{align}
+
+\end{document}