tokens
list
label_ids
list
[ "Since", "Bob", "could", "compute", "the", "encryption", "of", "``", "1", "''", "with", "many", "seeds", ",", "Alice", "needs", "to", "use", "a", "seed", "long", "enough", "so", "that", "Bob", "has", "a", "negligible", "probability", "of", "guessing", "t...
[ 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0 ]
[ "It", "follows", "that", "when", "using", "a", "padding", "scheme", "\\textsf{pad}\\colon", "\\mathcal", "M", "\\to", "\\mathbb", "Z_p^*", ",", "one", "only", "needs", "to", "ensure", "that", "p", "does", "not", "divide", "\\textsf{pad}(m)^2", "-", "1", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Randomisation", "in", "the", "padding", "scheme" ]
[ 0, 0, 0, 0, 1 ]
[ "Inverting", "an", "element", "of", "order", "2q", "requires", "at", "most", "4", "more", "modular", "multiplications", "than", "inverting", "an", "element", "of", "order", "2q", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Luckily", ",", "any", "safe", "prime", "p", ">", "7", "also", "satisfies", "\\gcd(p-1,", "3)", "=", "1", ",", "meaning", "that", "cubing", "is", "an", "invertible", "operation", "for", "all", "x", "\\in", "\\mathbb", "Z_p^*", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ "Using", "a", "safe", "modulus" ]
[ 0, 0, 0, 1 ]
[ "Let", "m", "be", "the", "modulus", "used", "in", "our", "scheme", "." ]
[ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ]
[ "The", "most", "important", "factor", "in", "the", "choice", "of", "m", "is", "that", "the", "cubing", "operation", "must", "be", "invertible", "for", "all", "(", "or", "most", ")", "x", "\\in", "\\mathbb", "Z_m", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Moreover", ",", "we", "aim", "to", "construct", "a", "delay", "encryption", ",", "therefore", "decryption", "should", "be", "as", "hard", "as", "possible", "while", "still", "being", "feasible", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "The", "set", "\\mathcal", "H^\\epsilon", "_m", "represents", "the", "subset", "of", "\\mathbb", "Z_m", "for", "which", "decryption", "requires", "at", "most", "\\epsilon", "squarings", "less", "than", "the", "maximal", "value", "H_m", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "We", "aim", "to", "minimise", "K^\\epsilon_m", "=", "|\\ZZ_m^*|", "-", "|\\mathcal", "H^\\epsilon", "_m|", "among", "all", "m", "of", "the", "same", "bitsize", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "In", "this", "paper", ",", "we", "propose", "a", "time", "-", "lock", "puzzle", "based", "on", "the", "sequentiality", "of", "repeated", "squaring", "which", "appears", "to", "be", "quantum", "-", "resistant", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0 ]
[ "This", "idea", "for", "TRE", "was", "discussed", "in", "passing", "by", "Roscoe", "and", "here", "we", "analyse", "his", "idea", "further", "in", "order", "to", "create", "a", "concrete", "and", "secure", "scheme", "." ]
[ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Therefore", ",", "we", "believe", "that", "the", "general", "term", "``", "timed", "-", "release", "encryption", "''", "can", "be", "misleading", "and", "we", "resort", "to", "the", "idea", "of", "``", "delay", "encryption", "''", "as", "originally", "int...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Short", "delays", "are", "enough", "to", "guarantee", "the", "security", "of", "protocols", "such", "as", "the", "partially", "-", "fair", "computation", "by", "Couteau", "\\", "etal", ",", "where", "delay", "encryption", "plays", "a", "crucial", "role", "....
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ]
[ "Many", "other", "researchers", "(", "e.g.", "\\@", ")", "proposed", "similar", "constructions", "based", "on", "repeated", "squaring", "in", "research", "areas", "related", "to", "TRE", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Although", "the", "use", "of", "the", "cubing", "operation", "is", "not", "novel", "in", "the", "context", "of", "time", "-", "related", "cryptography", ",", "its", "use", "for", "timed", "-", "release", "encryption", "is", "." ]
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ]
[ "Long", "-", "term", "delays", "via", "time", "-", "lock", "puzzles", "are", "very", "impractical", "because", "they", "force", "the", "receiver", "to", "do", "a", "very", "expensive", "computation", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Specifically", ",", "the", "protocol", "in", "betters", "the", "known", "upper", "bound", "for", "fair", "exchange", "of", "for", "protocols", "where", "no", "delay", "encryption", "was", "permitted", "." ]
[ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ]
[ "Given", "this", "result", ",", "we", "were", "motivated", "to", "ensure", "that", "delay", "encryption", "as", "used", "in", "and", "similar", "protocols", "is", "soundly", "based", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 ]
[ "However", ",", "most", "of", "these", "works", "are", "based", "on", "the", "time", "-", "lock", "puzzle", "by", "Rivest", "\\", "etal", "and", "they", "all", "lack", "a", "key", "component", "of", "our", "research", ":", "a", "practical", "analysis", ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "With", "this", "paper", ",", "we", "aim", "at", "starting", "a", "discussion", "on", "practical", "TRE", "schemes", "that", "will", "withstand", "attackers", "equipped", "quantum", "computers", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Improvements", "in", "algorithmic", "theory", "and", "hardware", "make", "the", "estimate", "of", "years", "-", "long", "delays", "very", "imprecise", "." ]
[ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ]
[ "Our", "primary", "aim", "is", "to", "achieve", "secure", "delays", "of", "a", "few", "seconds", "or", "minutes", "that", "would", "allow", "this", "scheme", "to", "be", "adopted", "in", "internet", "protocols", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "The", "disparity", "in", "computational", "power", "between", "a", "resourceful", "adversary", "and", "an", "average", "user", "makes", "our", "scheme", "impractical", "for", "long", "delays", "." ]
[ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "In", "particular", ",", "as", "we", "will", "see", "in", "Sections", "and", ",", "an", "adversary", "with", "large", "enough", "computational", "power", "can", "easily", "break", "the", "security", "of", "our", "scheme", "as", "well", "as", "the", "scheme...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Therefore", ",", "the", "last", "step", "can", "be", "performed", "by", "a", "circuit", "of", "depth", "O(\\log^2", "n)", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ]
[ "All", "the", "modular", "reductions", "are", "performed", "using", "Barret", "'s", "reduction", ",", "and", "so", "they", "can", "be", "computed", "by", "a", "circuit", "of", "depth", "O(\\log", "n)", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ]
[ "The", "key", "step", "of", "this", "algorithm", "is", "the", "computation", "of", "z^{2^k}\\mmod", "m", "in", "depth", "O(k)", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ]
[ "Ristenpart", "and", "Yilek", "designed", "the", "mix", "-", "and", "-", "cut", "shuffle", "as", "a", "way", "of", "strengthening", "other", "shuffles", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "In", "a", "later", "paper", "by", "Morris", "and", "Rogaway", ",", "the", "mix", "-", "and", "-", "cut", "shuffle", "with", "swap", "-", "or", "-", "not", "is", "slightly", "modified", "to", "improve", "efficiency", "without", "impacting", "the", "secur...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "On", "an", "abstract", "level", ",", "the", "construction", "can", "be", "described", "as", "follows", ":", "a", "``", "standard", "\"", "shuffling", "is", "used", ",", "then", "the", "deck", "is", "cut", "in", "half", "and", "recursively", "only", "the...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "As", "mentioned", "earlier", ",", "the", "use", "of", "card", "shuffling", "ciphers", "is", "relatively", "inefficient", "as", "the", "number", "of", "iterations", "for", "each", "shuffle", "is", "O(\\log", "p)", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ "In", "particular", ",", "we", "implemented", "the", "three", "shuffles", "mentioned", "above", "using", "the", "GMP", "library", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "By", "setting", "N", "to", "be", "our", "usual", "prime", "of", "70034", "bits", "and", "R", "=", "70000", ",", "we", "tested", "these", "shuffling", "algorithms", "and", ",", "discounting", "the", "cost", "of", "sampling", "the", "random", "keys", "and...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "This", "shows", "that", "the", "computation", "of", "these", "shuffles", "would", "dominate", "the", "overall", "complexity", "of", "the", "chained", "delay", "h^n_p", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ]
[ "On", "the", "other", "hand", ",", "these", "ciphers", "are", "the", "candidates", "which", "more", "closely", "represent", "a", "random", "permutation", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Therefore", ",", "applications", "of", "the", "chaining", "techniques", "that", "require", "very", "high", "security", "should", "use", "one", "of", "the", "card", "shuffling", "ciphers", "described", "here", "." ]
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ]
[ "It", "is", "important", "to", "note", "that", "in", "our", "use", "case", ",", "there", "is", "no", "need", "for", "the", "shuffling", "to", "withstand", "crypt", "analysis", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "As", "a", "result", ",", "we", "believe", "that", "using", "a", "shuffle", "with", "only", "few", "iterations", "(", "small", "R", ")", "it", "is", "very", "likely", "to", "provide", "enough", "security", "for", "our", "needs", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Boneh", "\\", "etal", "proposed", "a", "new", "permutation", "g_p", "defined", "over", "(\\mathbb", "Z_p)^2", "." ]
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 ]
[ "However", ",", "it", "does", "require", "defining", "f_p", "over", "(\\mathbb", "Z_p)^2", "and", "clearly", "g_p", "is", "very", "far", "from", "being", "a", "secure", "pseudo-random", "permutation", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Format", "Preserving", "Encryption" ]
[ 0, 0, 1 ]
[ "The", "field", "of", "Format", "Preserving", "Encryption", "focuses", "on", "constructing", "pseudo-random", "permutations", "on", "arbitrary", "domains", "." ]
[ 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0 ]
[ "The", "FPE", "schemes", "approved", "by", "the", "NIST", "are", "based", "on", "Feistel", "Networks", "and", "aim", "to", "encrypt", "elements", "of", "\\Sigma^n", "where", "\\Sigma", "is", "an", "arbitrary", "alphabet", "." ]
[ 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "However", ",", "these", "schemes", "can", "be", "used", "to", "encrypt", "messages", "in", "the", "domain", "\\bin^n", "where", "n", "is", "the", "bitsize", "of", "p", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ]
[ "Using", "this", "in", "conjunction", "with", "the", "technique", "of", "``", "cycle", "walking", "``", "as", "described", "by", "Black", "and", "Rogaway", "gives", "an", "encryption", "\\ZZ_p", "\\to", "\\ZZ_p", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "If", "the", "encryption", "E", "represents", "a", "permutation", "of", "\\{0,1\\}^k", ",", "then", "this", "method", "traverses", "the", "cycle", "of", "x", "under", "E", "in", "\\{0,1\\}^n", "until", "it", "hits", "an", "element", "in", "\\mathcal", "M", ...
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Moreover", ",", "if", "E", "is", "a", "truly", "random", "permutation", "of", "\\{0,1\\}^n", ",", "then", "this", "method", "will", "yield", "a", "truly", "random", "permutation", "of", "\\mathcal", "M", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 ]
[ "This", "method", "is", "very", "effective", "if", "the", "ratio", "\\frac", "{|\\mathcal", "M|}", "{2^n}", "is", "high", "enough", "to", "avoid", "long", "encryption", "chains", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Delay", "Encryption", "(", "often", "called", "Timed", "-", "Release", "Encryption", ")", "is", "a", "scheme", "in", "which", "a", "message", "is", "sent", "into", "the", "future", "by", "ensuring", "its", "confidentiality", "only", "for", "a", "given", "...
[ 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "We", "propose", "a", "new", "scheme", "based", "on", "a", "novel", "time", "-", "lock", "puzzle", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "This", "puzzle", "relies", "on", "the", "assumption", "that", "repeated", "squaring", "is", "an", "inherently", "sequential", "process", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "We", "perform", "an", "extensive", "and", "practical", "analysis", "of", "many", "classical", "and", "quantum", "attacks", "on", "our", "scheme", "and", "conclude", "that", "it", "is", "secure", "given", "some", "precautions", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Timed", "-", "Release", "Encryption", "(", "TRE", ")", "is", "a", "method", "by", "which", "one", "can", "encrypt", "a", "message", "only", "for", "some", "amount", "of", "time", "." ]
[ 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "This", "relatively", "little", "studied", "encryption", "model", "has", "a", "wide", "range", "of", "applications", "spanning", "from", "online", "gambling", "to", "e-voting", "systems", "and", "internet", "protocols", "." ]
[ 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0 ]
[ "Trusted", "third", "parties", ":", "interactive", "protocols", "that", "take", "advantage", "of", "the", "presence", "of", "a", "TTP", "." ]
[ 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "The", "literature", "on", "examples", "of", "the", "second", "approach", "is", "abundant", "and", "includes", "ones", "based", "on", "synthetic", "TTPs", "such", "as", "blockchains", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0 ]
[ "The", "recent", "interest", "that", "time", "-", "related", "encryption", "schemes", "are", "getting", "makes", "the", "need", "for", "a", "secure", "TRE", "scheme", "urgent", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ]
[ "On", "the", "other", "hand", ",", "the", "time", "-", "lock", "puzzle", "proposed", "by", "Rivest", "et", "al.", "\\", "seems", "to", "be", "the", "only", "accepted", "example", "of", "the", "first", "category", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "The", "main", "disadvantage", "of", "this", "method", "is", "that", "it", "relies", "on", "the", "hardness", "of", "integer", "factorisation", ":", "an", "unreasonable", "assumption", "in", "a", "post-quantum", "world", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Repeated", "squarings" ]
[ 0, 1 ]
[ "Since", "the", "introduction", "of", "the", "RSA", "cryptosystem", ",", "researchers", "have", "looked", "at", "ways", "to", "optimise", "the", "modular", "exponentiation", "process", "." ]
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Let", "a,", "b", "and", "m", "be", "integers", "with", "b", "having", "n", "bits", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "All", "the", "optimisations", "present", "in", "the", "literature", "aims", "at", "reducing", "the", "number", "of", "modular", "multiplications", "needed", "to", "compute", "a^b", "\\mod", "m", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ "As", "an", "example", ",", "we", "describe", "the", "state", "-", "of", "-", "the", "-", "art", "``", "sliding", "window", "\"", "algorithm", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "We", "write", "b[i,", "j)", "for", "the", "integer", "\\floor{", "(b", "-", "\\floor", "{b", "/", "2^{n-i}}", "2^{n-i})", "/", "2^{n-j}}", "(", "i.e.", "\\@", "the", "number", "composed", "by", "b", "'s", "bits", "in", "positions", "\\set{i,", "i+1,", "...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Figure", "shows", "the", "pseudocode", "for", "this", "algorithm", "." ]
[ 0, 0, 0, 1, 0, 0, 0, 0 ]
[ "The", "GMP", "library", "implements", "a", "slightly", "more", "optimised", "version", "of", "this", "algorithm", "." ]
[ 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Similar", "to", "all", "the", "other", "methods", "present", "in", "the", "literature", ",", "this", "technique", "aims", "at", "reducing", "the", "number", "of", "multiplications", "required", "apart", "from", "the", "repeated", "squaring", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "As", "we", "will", "explain", "below", ",", "most", "of", "these", "extra", "multiplications", "can", "be", "parallelised", ",", "therefore", "these", "nuances", "are", "less", "important", "since", "we", "are", "interested", "only", "in", "the", "sequential"...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0 ]
[ "As", "a", "result", ",", "on", "average", ",", "the", "number", "of", "sequential", "multiplications", "needed", "is", "n+", "\\frac", "{w-1}", "2", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ "We", "would", "like", "to", "point", "out", "that", "the", "existence", "of", "an", "optimised", "open", "-", "source", "library", ",", "such", "as", "GMP", ",", "is", "vital", "in", "limiting", "the", "performance", "advantage", "a", "malicious", "entity...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 ]
[ "Based", "on", "our", "own", "experiments", ",", "the", "GMP", "library", "is", "of", "very", "high", "quality", "in", "respect", "of", "optimisation", "and", "coverage", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "As", "far", "as", "CPUs", "are", "concerned", ",", "the", "difference", "in", "single", "core", "performance", "does", "not", "appear", "to", "be", "very", "wide", "." ]
[ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "In", "particular", ",", "a", "smartphone", "'s", "CPU", "has", "a", "clock", "speed", "of", "around", "2", "GHz", ",", "while", "a", "top", "tier", "desktop", "processor", "can", "only", "reach", "up", "to", "5.3", "GHz", "." ]
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "Differences", "in", "the", "CPU", "architecture", "can", "lead", "to", "different", "performances", "even", "with", "equal", "clock", "speed", "." ]
[ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "To", "estimate", "this", "factor", ",", "we", "used", "a", "table", "published", "on", "the", "GMP", "library", "website", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ]
[ "This", "table", "lists", "the", "average", "cost", "in", "terms", "of", "clock", "cycles", "for", "many", "low", "-", "level", "tasks", "on", "different", "CPU", "architectures", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "For", "instance", ",", "summing", "two", "64n", "-", "bits", "numbers", "on", "an", "AMD", "Zen", "3", "processor", "takes", "n", "cycles", ",", "while", "doing", "the", "same", "task", "on", "an", "ARM", "A5", "neon", "takes", "8.66n", "cycles", "." ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Similarly", ",", "using", "an", "Intel", "Atom", "architecture", "to", "square", "a", "number", "with", "the", "trivial", "algorithm", "takes", "roughly", "9.7", "cycles", "per", "32", "bits", ",", "while", "performing", "the", "same", "task", "on", "an", ...
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "These", "figures", "show", "that", "the", "gap", "between", "old", "architectures", "and", "new", "ones", "can", "be", "much", "higher", "than", "the", "gap", "in", "clock", "speed", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "As", "a", "result", ",", "we", "suggest", "the", "cautious", "approach", "of", "assuming", "that", "malicious", "entities", "could", "obtain", "a", "15", "times", "speed", "-", "up", "compared", "to", "mid-range", "CPUs", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "We", "propose", "a", "novel", "efficient", "FPE", "method", "to", "use", "in", "conjunction", "with", "the", "cycle", "walking", "construction", "." ]
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "We", "write", "s[a,", "b)", "to", "mean", "the", "substring", "of", "s", "starting", "from", "the", "a", "\\textsuperscript{th}", "character", "(", "included", ")", "and", "stopping", "at", "the", "b", "\\textsuperscript{th}", "character", "(", "excluded", ")...
[ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "The", "underlying", "idea", "is", "to", "encrypt", "the", "input", "from", "both", "ends", ",", "each", "time", "leaving", "out", "a", "few", "bits", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "The", "FPE", "algorithms", "described", "here", "are", "likely", "to", "be", "the", "most", "efficient", "choice", "chaining", "candidate", "described", "in", "this", "section", "." ]
[ 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ]
[ "In", "particular", ",", "if", "we", "pick", "the", "prime", "p", "to", "have", "a", "bitsize", "close", "to", "a", "multiple", "of", "the", "block", "size", "of", "a", "good", "block", "cipher", ",", "then", "we", "can", "use", "the", "cycle", "walk...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Assuming", "the", "use", "of", "a", "128", "-", "bit", "-", "block", "-", "sized", "cipher", "such", "as", "AES", ",", "we", "looked", "at", "all", "the", "safe", "primes", "with", "a", "bitsize", "in", "the", "range", "[30", "000,", "100", "000]", ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "\\begin{enumerate}", "\\item", "1030710193", "\\times", "2^{44001}", "+", "3", "bitsize", ":", "44031", "=", "344\\cdot", "128", "-1", "\\", "item", "1022253375", "\\times", "2^{43489}", "-", "1", "bitsize", ":", "43519", "=", "340", "\\cdot", "128", "-1", ...
[ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "This", "is", "drastically", "less", "than", "the", "number", "of", "encryption", "needed", "when", "using", "Both", "-", "Ends", "Encryption", "and", "cycle", "walking", "(", "on", "average", "2188", "if", "p", "has", "70034", "bits", ")", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ]
[ "Using", "the", "FF1", "method", "approved", "by", "NIST", "and", "cycle", "walking", "requires", "on", "average", "5520", "encryptions", "." ]
[ 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0 ]
[ "Given", "the", "highly", "optimised", "AES", "instruction", "set", "that", "recent", "CPU", "support", ",", "these", "numbers", "of", "encryptions", "can", "be", "carried", "out", "relatively", "efficiently", "." ]
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ "To", "better", "understand", "the", "relative", "speed", "of", "this", "chaining", "method", ",", "we", "used", "the", "open", "-", "source", "library", "LibreSSL", "to", "benchmark", "AES", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0 ]
[ "Using", "the", "same", "setup", "that", "delays", "70034", "-", "bit", "numbers", "in", "0.8", "ms", ",", "AES", "achieves", "a", "speed", "of", "roughly", "4", "GB", "per", "second", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ]
[ "Hence", ",", "5520", "encryptions", "can", "be", "performed", "in", "roughly", "0.02", "ms", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]
[ "Table", "shows", "that", "the", "speed", "of", "the", "various", "chaining", "methods", "and", "proves", "that", "the", "FPE", "approach", "is", "the", "most", "efficient", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 ]
[ "Post-quantum", "security", "%" ]
[ 0, 1, 0 ]
[ "In", "particular", ",", "we", "look", "at", "whether", "known", "quantum", "solutions", "to", "the", "discrete", "logarithm", "problem", "could", "lead", "to", "potential", "attacks", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 ]
[ "In", "this", "section", ",", "we", "discuss", "where", "the", "proposed", "scheme", "stands", "in", "a", "world", "where", "an", "adversary", "has", "access", "to", "large", "quantum", "computers", "." ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]