readme, benchmarks, fix verification
This commit is contained in:
Binary file not shown.
@ -8,6 +8,11 @@
|
||||
\usepackage{amsthm}
|
||||
\usepackage{tikz}
|
||||
\usepackage{minted}
|
||||
\usepackage{multirow}
|
||||
\usepackage{tabularx}
|
||||
\usepackage{booktabs}
|
||||
\usepackage{ragged2e}
|
||||
\usepackage[alph]{parnotes}
|
||||
|
||||
\DeclareMathOperator{\lcm}{lcm}
|
||||
\DeclareMathOperator{\id}{id}
|
||||
@ -598,18 +603,52 @@ The other proofs do not translate so trivially to this structure however. In fac
|
||||
|
||||
\subsection{Complexity results}
|
||||
|
||||
All measurements taken on Brave 1.50.114 (Chromium 112.0.5615.49) 64-bit, using a Ryzen 5 3600 CPU.
|
||||
All measurements taken on Brave 1.50.114 (Chromium 112.0.5615.49) 64-bit, using a Ryzen 5 3600 CPU. Absolute timings are extremely dependent on the browser engine: for example Firefox 111.0.1 was typically 4 times slower than the results shown.
|
||||
|
||||
\begin{center}
|
||||
\begin{tabular}{|c|c|c|c|}
|
||||
\hline
|
||||
Modulus size & Na\"ive encrypt & Jacobi encrypt & RSA encrypt \\\hline
|
||||
\begin{table}[htp]
|
||||
\fontsize{10pt}{10pt}\selectfont
|
||||
\caption{Time to encrypt}
|
||||
\begin{tabularx}{\textwidth}{c *3{>{\Centering}X}}
|
||||
\toprule
|
||||
Modulus size & Na\"ive encrypt & Jacobi encrypt & RSA encrypt \\
|
||||
\midrule
|
||||
$|n| = 1024$ & 6ms & 4ms & <1ms \\
|
||||
$|n| = 2048$ & 34ms & 22ms & <1ms \\
|
||||
$|n| = 4096$ & 189ms & 128ms & <1ms \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
\bottomrule
|
||||
\end{tabularx}
|
||||
\end{table}
|
||||
|
||||
\begin{table}[htp]
|
||||
\fontsize{10pt}{10pt}\selectfont
|
||||
\caption{Time to process proofs}
|
||||
\begin{tabularx}{\textwidth}{c *4{>{\Centering}X}}
|
||||
\toprule
|
||||
\multirow{2}{*}{Modulus size} & \multicolumn{2}{c}{Proof-of-zero non-interactive} & \multicolumn{2}{c}{\hyperref[protocol1]{Protocol~\ref*{protocol1}} with $t = 24$} \tabularnewline \cmidrule(l){2-3}\cmidrule(l){4-5}
|
||||
& Prover & Verifier & Prover & Verifier \\
|
||||
\midrule
|
||||
$|n| = 1024$ & 10ms & 18ms & 1,740ms & 2,190ms \\
|
||||
$|n| = 2048$ & 44ms & 68ms & 8,170ms & 8,421ms \\
|
||||
$|n| = 4096$ & 225ms & 292ms & 41,500ms & 34,405ms \\
|
||||
\bottomrule
|
||||
\end{tabularx}
|
||||
\end{table}
|
||||
|
||||
\begin{table}[htp]
|
||||
\fontsize{10pt}{10pt}\selectfont
|
||||
\caption{Byte size\parnote{1 UTF-16 character, as used by ECMAScript, is 2 or more bytes} of encoded proofs}
|
||||
\begin{tabularx}{\textwidth}{c *4{>{\Centering}X}}
|
||||
\toprule
|
||||
\multirow{2}{*}{Modulus size} & \multicolumn{2}{c}{Proof-of-zero non-interactive} & \multicolumn{2}{c}{\hyperref[protocol1]{Protocol~\ref*{protocol1}} with $t = 24$} \tabularnewline \cmidrule(l){2-3}\cmidrule(l){4-5}
|
||||
& JSON & with LZ-String & JSON & with LZ-String \\
|
||||
\midrule
|
||||
$|n| = 1024$ & 1,617B & 576B (35.62\%) & 338,902B & 95,738B (28.25\%) \\
|
||||
$|n| = 2048$ & 3,153B & 1,050B (33.30\%) & 662,233B & 187,333B (28.29\%) \\
|
||||
$|n| = 4096$ & 6,226B & 1,999B (32.11\%) & 1,315,027B & 368,646B (28.03\%) \\
|
||||
\bottomrule
|
||||
\end{tabularx}
|
||||
\parnotes
|
||||
\end{table}
|
||||
|
||||
\subsection{Quantum resistance}
|
||||
|
||||
|
Reference in New Issue
Block a user