A Complete algorithm for local inversion of maps: Application to
Cryptanalysis
For a map (function) and a given in the image of the problem of \emph{local inversion} of is to find all inverse images in such that . In Cryptology, such a problem arises in Cryptanalysis of One way Functions (OWFs). The well known TMTO attack in Cryptanalysis is a probabilistic algorithm for computing one solution of local inversion using order computation in offline as well as online for . This paper proposes a complete algorithm for solving the local inversion problem which uses linear complexity for a unique solution in a periodic orbit. The algorithm is shown to require an offline computation to solve a hard problem (possibly requiring exponential computation) and an online computation dependent on that of repeated forward evaluation on points in which is polynomial time at each evaluation. However the forward evaluation is repeated at most as many number of times as the Linear Complexity of the sequence to get one possible solution when this sequence is periodic. All other solutions are obtained in chains for all points in the Garden of Eden (GOE) of the map . Hence a solution exists iff either the former sequence is periodic or a solution occurs in a chain starting from a point in GOE. The online computation then turns out to be polynomial time in the linear complexity of the sequence to compute one possible solution in a periodic orbit or the chain length for a fixed . Hence this is a complete algorithm for solving the problem of finding all rational solutions of the equation for a given and a map in .
View on arXiv