<commit_before>% Copyright 2018 Google LLC
%
% Use of this source code is governed by an MIT-style
% license that can be found in the LICENSE file or at
% https://opensource.org/licenses/MIT.

%%% script AUTHOR: <NAME>, <NAME>%%%
%%% script TITLE: {Adiantum}: length-preserving encryption for entry-level processors%%%

%!TeX spellcheck = en-US

\RequirePackage{etex}
\documentclass[letterpaper,luatex,11pt]{article}
\usepackage{etoolbox}
\newtoggle{iacr}
\togglefalse{iacr}

\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}
\setsansfont{TeX Gyre Heros}
\setmathrm{Latin Modern Roman}
\setmathsf{Latin Modern Sans}
\defaultfontfeatures{}
\setmonofont{TeX Gyre Cursor}[Ligatures={NoCommon,NoRequired,NoContextual},Scale=0.9]

\usepackage[hmargin=4cm,vmargin=3cm,nohead]{geometry}
\usepackage[parfill]{parskip}
\usepackage[style]{abstract}
\usepackage{titling}
\usepackage{sectsty}
\usepackage{authblk}
\usepackage{floatrow}
\usepackage[svgnames]{xcolor}
\usepackage[breaklinks,colorlinks,urlcolor=DarkBlue,linkcolor=DarkRed,citecolor=DarkGreen,pdfencoding=unicode]{hyperref}
\usepackage{amsthm}

\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}

% https://tex.stackexchange.com/questions/25346/wrong-spacing-before-theorem-environment-amsthm/26350
\begingroup
    \makeatletter
    \@for\theoremstyle:=definition,remark,plain\do{%
        \expandafter\g@addto@macro\csname th@\theoremstyle\endcsname{%
            \addtolength\thm@preskip\parskip
            }%
        }
\endgroup

\pretitle{\begin{center}\LARGE\bfseries\sffamily} % sf title
\renewcommand{\abstitlestyle}{\sffamily\bfseries\centering} % sf abstract
\allsectionsfont{\sffamily} % sf sections

\raggedright
\raggedbottom

\author{Paul~Crowley}
\author{Eric~Biggers}
\affil{Google LLC}

\input{shared-part.tex}
<commit_msg>Add unicode option to eprint<commit_after>% Copyright 2018 Google LLC
%
% Use of this source code is governed by an MIT-style
% license that can be found in the LICENSE file or at
% https://opensource.org/licenses/MIT.

%%% script AUTHOR: <NAME>, <NAME>%%%
%%% script TITLE: {Adiantum}: length-preserving encryption for entry-level processors%%%

%!TeX spellcheck = en-US

\RequirePackage{etex}
\documentclass[letterpaper,luatex,11pt]{article}
\usepackage{etoolbox}
\newtoggle{iacr}
\togglefalse{iacr}

\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}
\setsansfont{TeX Gyre Heros}
\setmathrm{Latin Modern Roman}
\setmathsf{Latin Modern Sans}
\defaultfontfeatures{}
\setmonofont{TeX Gyre Cursor}[Ligatures={NoCommon,NoRequired,NoContextual},Scale=0.9]

\usepackage[hmargin=4cm,vmargin=3cm,nohead]{geometry}
\usepackage[parfill]{parskip}
\usepackage[style]{abstract}
\usepackage{titling}
\usepackage{sectsty}
\usepackage{authblk}
\usepackage{floatrow}
\usepackage[svgnames]{xcolor}
\usepackage[breaklinks,colorlinks,urlcolor=DarkBlue,linkcolor=DarkRed,citecolor=DarkGreen,unicode,pdfencoding=unicode]{hyperref}
\usepackage{amsthm}

\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}

% https://tex.stackexchange.com/questions/25346/wrong-spacing-before-theorem-environment-amsthm/26350
\begingroup
    \makeatletter
    \@for\theoremstyle:=definition,remark,plain\do{%
        \expandafter\g@addto@macro\csname th@\theoremstyle\endcsname{%
            \addtolength\thm@preskip\parskip
            }%
        }
\endgroup

\pretitle{\begin{center}\LARGE\bfseries\sffamily} % sf title
\renewcommand{\abstitlestyle}{\sffamily\bfseries\centering} % sf abstract
\allsectionsfont{\sffamily} % sf sections

\raggedright
\raggedbottom

\author{Paul~Crowley}
\author{Eric~Biggers}
\affil{Google LLC}

\input{shared-part.tex}

{'fraction_non_alphanumeric': 0.1355979011322839, 'fraction_numerical': 0.011046672190002762, 'mean_word_length': 6.060428849902534, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6240805', 'n_tokens_mistral': 1334, 'n_tokens_neox': 1223, 'n_words': 204}